Fossil SCM

Default dwell and close times for tooltips changes to 100 and 250 milliseconds.

drh 2019-05-23 02:29 tooltip-experiments
Commit 42c57c971bd1005b46d334245f07564e2638abdebab6bb4bb1d85b09e3b8fa78
2 files changed +2 -2 +2 -2
+2 -2
--- src/setup.c
+++ src/setup.c
@@ -751,14 +751,14 @@
751751
@ "0" there is no length limit.
752752
@ (Property: "timeline-max-comment")</p>
753753
754754
@ <hr />
755755
entry_attribute("Tooltip dwell time (milliseconds)", 6,
756
- "timeline-dwelltime", "tdt", "250", 0);
756
+ "timeline-dwelltime", "tdt", "100", 0);
757757
@ <br>
758758
entry_attribute("Tooltip close time (milliseconds)", 6,
759
- "timeline-closetime", "tct", "3000", 0);
759
+ "timeline-closetime", "tct", "250", 0);
760760
@ <p>The <strong>dwell time</strong> defines how long the mouse pointer
761761
@ should be stationary above an object of the graph before a tooltip
762762
@ appears.<br>
763763
@ The <strong>close time</strong> defines how long the mouse pointer
764764
@ can be away from an object before a tooltip is closed.</p>
765765
--- src/setup.c
+++ src/setup.c
@@ -751,14 +751,14 @@
751 @ "0" there is no length limit.
752 @ (Property: "timeline-max-comment")</p>
753
754 @ <hr />
755 entry_attribute("Tooltip dwell time (milliseconds)", 6,
756 "timeline-dwelltime", "tdt", "250", 0);
757 @ <br>
758 entry_attribute("Tooltip close time (milliseconds)", 6,
759 "timeline-closetime", "tct", "3000", 0);
760 @ <p>The <strong>dwell time</strong> defines how long the mouse pointer
761 @ should be stationary above an object of the graph before a tooltip
762 @ appears.<br>
763 @ The <strong>close time</strong> defines how long the mouse pointer
764 @ can be away from an object before a tooltip is closed.</p>
765
--- src/setup.c
+++ src/setup.c
@@ -751,14 +751,14 @@
751 @ "0" there is no length limit.
752 @ (Property: "timeline-max-comment")</p>
753
754 @ <hr />
755 entry_attribute("Tooltip dwell time (milliseconds)", 6,
756 "timeline-dwelltime", "tdt", "100", 0);
757 @ <br>
758 entry_attribute("Tooltip close time (milliseconds)", 6,
759 "timeline-closetime", "tct", "250", 0);
760 @ <p>The <strong>dwell time</strong> defines how long the mouse pointer
761 @ should be stationary above an object of the graph before a tooltip
762 @ appears.<br>
763 @ The <strong>close time</strong> defines how long the mouse pointer
764 @ can be away from an object before a tooltip is closed.</p>
765
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -842,12 +842,12 @@
842842
colorGraph = skin_detail_boolean("timeline-color-graph-lines");
843843
iTopRow = pGraph->pFirst ? pGraph->pFirst->idx : 0;
844844
omitDescenders = (tmFlags & TIMELINE_DISJOINT)!=0;
845845
fileDiff = (tmFlags & TIMELINE_FILEDIFF)!=0;
846846
scrollToSelect = (tmFlags & TIMELINE_NOSCROLL)==0;
847
- dwellTimeout = atoi(db_get("timeline-dwelltime","250"));
848
- closeTimeout = atoi(db_get("timeline-closetime","3000"));
847
+ dwellTimeout = atoi(db_get("timeline-dwelltime","100"));
848
+ closeTimeout = atoi(db_get("timeline-closetime","250"));
849849
@ <script id='timeline-data-%d(iTableId)' type='application/json'>{
850850
@ "iTableId": %d(iTableId),
851851
@ "circleNodes": %d(circleNodes),
852852
@ "showArrowheads": %d(showArrowheads),
853853
@ "iRailPitch": %d(iRailPitch),
854854
--- src/timeline.c
+++ src/timeline.c
@@ -842,12 +842,12 @@
842 colorGraph = skin_detail_boolean("timeline-color-graph-lines");
843 iTopRow = pGraph->pFirst ? pGraph->pFirst->idx : 0;
844 omitDescenders = (tmFlags & TIMELINE_DISJOINT)!=0;
845 fileDiff = (tmFlags & TIMELINE_FILEDIFF)!=0;
846 scrollToSelect = (tmFlags & TIMELINE_NOSCROLL)==0;
847 dwellTimeout = atoi(db_get("timeline-dwelltime","250"));
848 closeTimeout = atoi(db_get("timeline-closetime","3000"));
849 @ <script id='timeline-data-%d(iTableId)' type='application/json'>{
850 @ "iTableId": %d(iTableId),
851 @ "circleNodes": %d(circleNodes),
852 @ "showArrowheads": %d(showArrowheads),
853 @ "iRailPitch": %d(iRailPitch),
854
--- src/timeline.c
+++ src/timeline.c
@@ -842,12 +842,12 @@
842 colorGraph = skin_detail_boolean("timeline-color-graph-lines");
843 iTopRow = pGraph->pFirst ? pGraph->pFirst->idx : 0;
844 omitDescenders = (tmFlags & TIMELINE_DISJOINT)!=0;
845 fileDiff = (tmFlags & TIMELINE_FILEDIFF)!=0;
846 scrollToSelect = (tmFlags & TIMELINE_NOSCROLL)==0;
847 dwellTimeout = atoi(db_get("timeline-dwelltime","100"));
848 closeTimeout = atoi(db_get("timeline-closetime","250"));
849 @ <script id='timeline-data-%d(iTableId)' type='application/json'>{
850 @ "iTableId": %d(iTableId),
851 @ "circleNodes": %d(circleNodes),
852 @ "showArrowheads": %d(showArrowheads),
853 @ "iRailPitch": %d(iRailPitch),
854

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button