[Libreoffice-commits] online.git: loleaflet/src
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 2 03:34:03 UTC 2019
loleaflet/src/control/Control.LokDialog.js | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
New commits:
commit 4595a40d9f1670a0d65f2a5411493bba0b5787de
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sun Dec 1 16:52:57 2019 -0500
Commit: Ashod Nakashian <ashnakash at gmail.com>
CommitDate: Mon Dec 2 04:33:45 2019 +0100
leaflet: reuse postLaunch from the calc-input-bar
Change-Id: I9e64bded3a1a9eb70bd79f339e7b848a5474d6d1
Reviewed-on: https://gerrit.libreoffice.org/84179
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index 451805101..70f1592f7 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -585,18 +585,8 @@ L.Control.LokDialog = L.Control.extend({
};
this._createDialogCursor(strId);
- this._setupWindowEvents(id, canvas/*, dlgInput*/);
- L.DomEvent.on(container, 'mouseleave', function() {
- // Move the mouse off-screen when we leave the inputbar
- // so we don't leave edge-elements highlighted as if
- // the mouse is still over them.
- this._map.lastActiveTime = Date.now();
- this._postWindowMouseEvent('move', id, -1, -1, 1, 0, 0);
- }, this);
-
- // Render window.
- this._sendPaintWindowRect(id);
+ this._postLaunch(id, container, canvas);
this._calcInputBar = this._dialogs[id];
console.log('_launchCalcInputBar: end');
More information about the Libreoffice-commits
mailing list