fix:adjust selection boundary

This commit is contained in:
Hufe921
2023-01-25 15:31:15 +08:00
parent 8177c11c2b
commit 4865eb5d5a
+1 -1
View File
@@ -120,7 +120,7 @@ export function keydown(evt: KeyboardEvent, host: CanvasEvent) {
} }
} else if (evt.key === KeyMap.Right) { } else if (evt.key === KeyMap.Right) {
if (isReadonly) return if (isReadonly) return
if (index < positionList.length - 1) { if (index < positionList.length) {
const curIndex = endIndex + 1 const curIndex = endIndex + 1
// shift则缩放选区 // shift则缩放选区
let anchorStartIndex = curIndex let anchorStartIndex = curIndex