loleaflet/js/w2ui-1.5.rc1.js | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit 152a20df3a58fc79e79d6baa6a50e755ad3faae2 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Jan 8 16:26:32 2020 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Wed Jan 8 16:29:45 2020 +0200 Revert "tdf#129374: Make the overlay wider on iOS if it seems necessary" There is a better fix coming. This reverts commit ce7ad16087701adf9803f2dfd3b2da0eb2718668. diff --git a/loleaflet/js/w2ui-1.5.rc1.js b/loleaflet/js/w2ui-1.5.rc1.js index a9e48c1b2..687a00202 100644 --- a/loleaflet/js/w2ui-1.5.rc1.js +++ b/loleaflet/js/w2ui-1.5.rc1.js @@ -2388,13 +2388,6 @@ w2utils.event = { Y = (offset.top + w2utils.getSize(obj, 'height') + options.top + 7); offsetTop = offset.top; } - - // tdf#129374 make the overlay wider so that it is more likely all we want to put in it will fit. Yes, this - // is just horrible heuristics. The sane thing would be if this w2ui code could itself make sure that the - // overlay thing grows in width if necessary as stuff is added to it so that they all show up. - if (window.ThisIsTheiOSApp && X > window.innerWidth - 300) - X = window.innerWidth - 300; - div1.css({ left : X + 'px', top : Y + 'px', _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits