From a9e12f6c508810604c8c91ee15451776b08ce1a1 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 22 Apr 2019 07:41:56 -0400 Subject: [PATCH] Camera capslock fix --- timeflow/vis/timeline/TimelineSlider.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/timeflow/vis/timeline/TimelineSlider.java b/timeflow/vis/timeline/TimelineSlider.java index 005db28..def6cdb 100755 --- a/timeflow/vis/timeline/TimelineSlider.java +++ b/timeflow/vis/timeline/TimelineSlider.java @@ -15,7 +15,6 @@ public class TimelineSlider extends ModelPanel { - TimelineVisuals visuals; Interval original; long minRange; @@ -30,6 +29,7 @@ START, END, POSITION, NONE }; + Modify change = Modify.NONE; Rectangle startRect = new Rectangle(-1, -1, 0, 0); Rectangle endRect = new Rectangle(-1, -1, 0, 0); @@ -165,7 +165,6 @@ scale.setDateRange(visuals.getGlobalInterval()); scale.setNumberRange(ew, w - ew); - // draw the area for the central "thumb". int lx = scale.toInt(window().start); int rx = scale.toInt(window().end); @@ -194,6 +193,7 @@ mostInSlot = Math.max(mostInSlot, slots[s]); } } + if (mostInSlot > 30) { g.setColor(Color.gray); -- Gitblit v1.6.2