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);
|
eventCheckboxes.add(eventCheckBox);
|
||||||
|
|
||||||
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
|
public void run() {
|
||||||
|
recalculateMoteHeight();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
/* Panel: timeline canvas w. scroll pane and add mote button */
|
/* Panel: timeline canvas w. scroll pane and add mote button */
|
||||||
timeline = new Timeline();
|
timeline = new Timeline();
|
||||||
timelineScrollPane = new JScrollPane(
|
timelineScrollPane = new JScrollPane(
|
||||||
@ -1346,6 +1352,7 @@ public class TimeLine extends VisPlugin {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private int mousePixelPositionX = -1;
|
private int mousePixelPositionX = -1;
|
||||||
private int mousePixelPositionY = -1;
|
private int mousePixelPositionY = -1;
|
||||||
private int mouseDownPixelPositionX = -1;
|
private int mouseDownPixelPositionX = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user