minor bugfix: side panel height was wrong when plugin started

This commit is contained in:
Fredrik Osterlind 2012-03-06 09:18:44 +01:00
parent a84dc139ea
commit a243dad433

View file

@ -229,6 +229,12 @@ public class TimeLine extends VisPlugin {
});
eventCheckboxes.add(eventCheckBox);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
recalculateMoteHeight();
}
});
/* Panel: timeline canvas w. scroll pane and add mote button */
timeline = new Timeline();
timelineScrollPane = new JScrollPane(
@ -1346,6 +1352,7 @@ public class TimeLine extends VisPlugin {
return true;
}
private int mousePixelPositionX = -1;
private int mousePixelPositionY = -1;
private int mouseDownPixelPositionX = -1;