[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 23 07:49:38 UTC 2020
loleaflet/src/control/Control.LokDialog.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c239143539c257b6499ab3d6d4598082b17ae200
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Sep 23 09:24:42 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Sep 23 09:49:19 2020 +0200
LokDialog: Remember tooltip position
Change-Id: Ib3d6ca3d554ed2ebf47b5012b5101fbf194a970d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103229
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index 2be933037..23fe890cd 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -345,6 +345,8 @@ L.Control.LokDialog = L.Control.extend({
this._dialogs[parentId].childid = e.id;
this._dialogs[parentId].childwidth = width;
this._dialogs[parentId].childheight = height;
+ this._dialogs[parentId].childx = left;
+ this._dialogs[parentId].childy = top;
if (e.winType === 'tooltip')
this._dialogs[parentId].childistooltip = true;
More information about the Libreoffice-commits
mailing list