fix:set cursor position after mouse down

pr675
Hufe921 4 years ago
parent 11204e772f
commit 58826475e5

@ -242,6 +242,7 @@ export class CanvasEvent {
const isDirectHitCheckbox = !!(isDirectHit && isCheckbox)
if (~index) {
this.range.setRange(curIndex, curIndex)
this.position.setCursorPosition(positionList[curIndex])
// 复选框
const isSetCheckbox = isDirectHitCheckbox && !isReadonly
if (isSetCheckbox) {

Loading…
Cancel
Save