mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 01:30:45 +00:00
Simple drag and drop from library to stage.
This commit is contained in:
@@ -430,5 +430,11 @@ public class TimelineBodyPanel extends JPanel implements MouseListener, KeyListe
|
||||
rect.y = depth * FRAME_HEIGHT;
|
||||
return rect;
|
||||
}
|
||||
|
||||
public void refresh() {
|
||||
Dimension dim = new Dimension(FRAME_WIDTH * timeline.getFrameCount() + 1, FRAME_HEIGHT * (timeline.getMaxDepth() + 1));
|
||||
setSize(dim);
|
||||
setPreferredSize(dim);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user