summaryrefslogtreecommitdiff
path: root/kit
diff options
context:
space:
mode:
authorIván Sánchez Ortega <ivan.sanchez@collabora.com>2019-05-16 16:17:29 +0200
committerMichael Meeks <michael.meeks@collabora.com>2019-11-13 16:58:15 +0000
commit55ac3da53f6d6f0d08de3fed43d43b85e1b05165 (patch)
tree4b850f1b40abedb5c9a207473614329ebf75c576 /kit
parent6584e3b8c0673e810bc645617a441ce8fa3bcfd1 (diff)
loleaflet: Draw column/row grid lines on the background
Based on information from UNO ViewRowColumnHeaders messages, this draws the grid lines with Leaflet's SVG polylines, in a background pane. To prevent visual glitches on touchscreens, this also reverts parts of 26aad36771ebd5a304b763912184acd2ea26dfdf - that introduced a regression that prevented 'dragend' events from being fired when inertia-dragging. Instead, inertia drag is disabled in the L.Map constructor. [ Miklos: cherry-pick these early as they prevent automatic merging. ] Change-Id: I86c68214822a0a2c2f8ced82ccf5a6c201e2cf04
Diffstat (limited to 'kit')
-rw-r--r--kit/ForKit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 7150ee6ab..62491374c 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -532,6 +532,7 @@ int main(int argc, char** argv)
std::string options = "unipoll";
if (Log::logger().trace())
options += ":profile_events";
+// options += ":sc_no_grid_bg"; // leave ths disabled for now, merged-cells needs more work.
::setenv("SAL_LOK_OPTIONS", options.c_str(), 0);
// Initialize LoKit