diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-09-23 09:24:42 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-09-23 09:49:19 +0200 |
commit | c239143539c257b6499ab3d6d4598082b17ae200 (patch) | |
tree | f37bed4f96a1d20272a2df5dd7a40d3ed5aad511 | |
parent | 9b4d2463663df228860a190f605b878cbb4ffedb (diff) |
LokDialog: Remember tooltip position
Change-Id: Ib3d6ca3d554ed2ebf47b5012b5101fbf194a970d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103229
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | loleaflet/src/control/Control.LokDialog.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |