Normand Briere
2019-04-22 a9e12f6c508810604c8c91ee15451776b08ce1a1
timeflow/vis/timeline/TimelineSlider.java
....@@ -15,7 +15,6 @@
1515
1616 public class TimelineSlider extends ModelPanel
1717 {
18
-
1918 TimelineVisuals visuals;
2019 Interval original;
2120 long minRange;
....@@ -30,6 +29,7 @@
3029
3130 START, END, POSITION, NONE
3231 };
32
+
3333 Modify change = Modify.NONE;
3434 Rectangle startRect = new Rectangle(-1, -1, 0, 0);
3535 Rectangle endRect = new Rectangle(-1, -1, 0, 0);
....@@ -165,7 +165,6 @@
165165 scale.setDateRange(visuals.getGlobalInterval());
166166 scale.setNumberRange(ew, w - ew);
167167
168
-
169168 // draw the area for the central "thumb".
170169 int lx = scale.toInt(window().start);
171170 int rx = scale.toInt(window().end);
....@@ -194,6 +193,7 @@
194193 mostInSlot = Math.max(mostInSlot, slots[s]);
195194 }
196195 }
196
+
197197 if (mostInSlot > 30)
198198 {
199199 g.setColor(Color.gray);