mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 08:43:12 +00:00
Restart cursor on selectWord/selectLine
Restarting cursor rendering using initDelayedCursor(true) in selectWord and selectLine improves user perceived responsiveness and provides an accurate reproduction of MS Word behaviour
This commit is contained in:
parent
2c5c83f9da
commit
8cb74e00e2
1 changed files with 2 additions and 0 deletions
|
|
@ -280,6 +280,7 @@
|
|||
|
||||
this.setSelectionStart(newSelectionStart);
|
||||
this.setSelectionEnd(newSelectionEnd);
|
||||
this.initDelayedCursor(true);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -292,6 +293,7 @@
|
|||
|
||||
this.setSelectionStart(newSelectionStart);
|
||||
this.setSelectionEnd(newSelectionEnd);
|
||||
this.initDelayedCursor(true);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue