From c3c47406ac43dafd51e6ad1d7b92a794bd69b7d6 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Fri, 27 Sep 2019 20:03:29 -0400 Subject: [PATCH] Fix/patch click flicking. --- timeflow/vis/timeline/TimelineVisuals.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/timeflow/vis/timeline/TimelineVisuals.java b/timeflow/vis/timeline/TimelineVisuals.java index 4e54d8a..3aa2dc6 100755 --- a/timeflow/vis/timeline/TimelineVisuals.java +++ b/timeflow/vis/timeline/TimelineVisuals.java @@ -15,9 +15,9 @@ */ public class TimelineVisuals { - private Map<String, TimelineTrack> trackTable = new HashMap<String, TimelineTrack>(); ArrayList<TimelineTrack> trackList = new ArrayList<TimelineTrack>(); + private TimeScale timeScale = new TimeScale(); private Rectangle bounds = new Rectangle(); private boolean frameChanged; @@ -28,12 +28,12 @@ public enum Layout { - TIGHT, LOOSE, GRAPH }; + private Layout layoutStyle = Layout.TIGHT; private VisualEncoder encoder; - private TFModel model; + private TimeflowModel model; private int fullHeight; public int getFullHeight() @@ -41,7 +41,7 @@ return fullHeight; } - public TimelineVisuals(TFModel model) + public TimelineVisuals(TimeflowModel model) { this.model = model; encoder = new VisualEncoder(model); @@ -224,7 +224,7 @@ layout(); } - public TFModel getModel() + public TimeflowModel getModel() { return model; } -- Gitblit v1.6.2