loleaflet/src/control/Control.LokDialog.js |   12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

New commits:
commit 4595a40d9f1670a0d65f2a5411493bba0b5787de
Author:     Ashod Nakashian <[email protected]>
AuthorDate: Sun Dec 1 16:52:57 2019 -0500
Commit:     Ashod Nakashian <[email protected]>
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 <[email protected]>
    Reviewed-by: Ashod Nakashian <[email protected]>

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');
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to