browser: allow cursor jump if text selection is empty
Otherwise, if the user selects all the document, the clipboard blocks Page Up or Page Down cursor jumps. Change-Id: Ia9c432646c51063775bb7cca6a998e7d1cdcdbf2 Signed-off-by: Henry Castro <hcastro@collabora.com>private/Andreas-Kainz/Formulabar
parent
dd3134d554
commit
df96b97f88
|
@ -2854,6 +2854,8 @@ L.CanvasTileLayer = L.Layer.extend({
|
|||
else {
|
||||
this._textCSelections.clear();
|
||||
this._cellCSelections.clear();
|
||||
if (this._map._clip && this._map._clip._selectionType === 'complex')
|
||||
this._map._clip.clearSelection();
|
||||
}
|
||||
|
||||
this._onUpdateTextSelection();
|
||||
|
|
Loading…
Reference in New Issue