loleaflet/css/device-mobile.css | 12 ++++-------- loleaflet/src/layer/vector/SplitterLine.js | 10 +++++----- 2 files changed, 9 insertions(+), 13 deletions(-)
New commits: commit b8f0f6faf9ab7d197ba61a97ee30ca579b864dac Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Sep 10 12:40:32 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Sep 10 12:40:32 2020 +0200 Handle split lines also using touch gestures Change-Id: I28c2d4e8dd8264e568c75cdfb4026daba8323e9e diff --git a/loleaflet/src/layer/vector/SplitterLine.js b/loleaflet/src/layer/vector/SplitterLine.js index 547663fe7..b076b7e66 100644 --- a/loleaflet/src/layer/vector/SplitterLine.js +++ b/loleaflet/src/layer/vector/SplitterLine.js @@ -68,7 +68,7 @@ L.SplitterLine = L.Rectangle.extend({ this._pathNodeCollection.forEachNode(function (nodeData) { var node = nodeData.getNode(); - L.DomEvent.on(node, 'mousedown', this._onDragStart, this); + L.DomEvent.on(node, 'mousedown touchstart', this._onDragStart, this); }.bind(this)); this.addClass('leaflet-pane-splitter'); @@ -89,8 +89,8 @@ L.SplitterLine = L.Rectangle.extend({ this._pathNodeCollection.forEachNode(function (nodeData) { var node = nodeData.getNode(); - L.DomEvent.on(node, 'mousemove', this._onDrag, this); - L.DomEvent.on(node, 'mouseup', this._onDragEnd, this); + L.DomEvent.on(node, 'mousemove touchmove', this._onDrag, this); + L.DomEvent.on(node, 'mouseup touchend', this._onDragEnd, this); }.bind(this)); @@ -132,8 +132,8 @@ L.SplitterLine = L.Rectangle.extend({ this._pathNodeCollection.forEachNode(function (nodeData) { var node = nodeData.getNode(); - L.DomEvent.off(node, 'mousemove', this._onDrag, this); - L.DomEvent.off(node, 'mouseup', this._onDragEnd, this); + L.DomEvent.off(node, 'mousemove touchmove', this._onDrag, this); + L.DomEvent.off(node, 'mouseup touchend', this._onDragEnd, this); }.bind(this)); this._moved = false; commit 145b06416a07cfaf6dadef56e559f8ce168d1c44 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Sep 10 12:14:52 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Sep 10 12:14:59 2020 +0200 CSS fixes for split line in calc Split line was outside headers Change-Id: Idca89131f08f59ec926b8b60a39a13196b00fc9a diff --git a/loleaflet/css/device-mobile.css b/loleaflet/css/device-mobile.css index be342da44..ed0cd05b5 100644 --- a/loleaflet/css/device-mobile.css +++ b/loleaflet/css/device-mobile.css @@ -233,10 +233,6 @@ div#w2ui-overlay-actionbar.w2ui-overlay{ #document-container.spreadsheet-document.readonly { top: 57px !important; } -#spreadsheet-row-column-frame { - top: 77px; - bottom: 36px; -} .spreadsheet-tab{ background-color: #eaf5ff; @@ -613,7 +609,7 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id } #document-container.readonly.spreadsheet-document { - top: 61px !important; + top: 58px !important; bottom: 42px; } @@ -623,7 +619,7 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id } #document-container.spreadsheet-document { - top: 97px !important; + top: 96px !important; bottom: 72px; } @@ -634,12 +630,12 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id } #spreadsheet-row-column-frame { - top: 77px !important; + top: 76px !important; bottom: 68px; } #spreadsheet-row-column-frame.readonly { - top: 41px !important; + top: 38px !important; bottom: 35px !important; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits