mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 20:50:55 +00:00
small fixes
This commit is contained in:
@@ -248,8 +248,9 @@ public class TimelineBodyPanel extends JPanel implements MouseListener {
|
||||
if (p.x >= timeLine.getFrameCount()) {
|
||||
p.x = timeLine.getFrameCount() - 1;
|
||||
}
|
||||
if (p.y > timeLine.getMaxDepth()) {
|
||||
p.y = timeLine.getMaxDepth();
|
||||
int maxDepth = timeLine.getMaxDepth();
|
||||
if (p.y > maxDepth) {
|
||||
p.y = maxDepth;
|
||||
}
|
||||
frameSelect(p.x, p.y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user