fix:adjust selection boundary
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user