minor bugfix: side panel height was wrong when plugin started
This commit is contained in:
parent
a84dc139ea
commit
a243dad433
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue