diff --git a/src/com/jpexs/decompiler/flash/easygui/TimelineBodyPanel.java b/src/com/jpexs/decompiler/flash/easygui/TimelineBodyPanel.java index 64b7d7f85..09ab9c40f 100644 --- a/src/com/jpexs/decompiler/flash/easygui/TimelineBodyPanel.java +++ b/src/com/jpexs/decompiler/flash/easygui/TimelineBodyPanel.java @@ -962,9 +962,6 @@ public class TimelineBodyPanel extends JPanel implements MouseListener, KeyListe DepthState ds = null; if (!(timelined instanceof ButtonTag) && fframe >= timelined.getFrameCount()) { - if (timelined instanceof ButtonTag) { - - } int lastFrame = timelined.getFrameCount() - 1; for (int d = 1; d <= timeline.maxDepth; d++) { ds = timeline.getDepthState(lastFrame, d); diff --git a/src/com/jpexs/decompiler/flash/easygui/TimelineTimePanel.java b/src/com/jpexs/decompiler/flash/easygui/TimelineTimePanel.java index 7681c0d77..1bf557812 100644 --- a/src/com/jpexs/decompiler/flash/easygui/TimelineTimePanel.java +++ b/src/com/jpexs/decompiler/flash/easygui/TimelineTimePanel.java @@ -101,7 +101,7 @@ public class TimelineTimePanel extends JPanel implements MouseListener { g.setColor(borderColor); int xofs = -scrollOffset % frameWidth; for (int f = 0; f <= end_f; f++) { - g.drawLine(xofs + f * frameWidth + 1, TimelineBodyPanel.FRAME_HEIGHT - 1, xofs + f * frameWidth+ 1, TimelineBodyPanel.FRAME_HEIGHT - lineLength); + g.drawLine(xofs + f * frameWidth + 1, TimelineBodyPanel.FRAME_HEIGHT - 1, xofs + f * frameWidth + 1, TimelineBodyPanel.FRAME_HEIGHT - lineLength); } g.setFont(g.getFont().deriveFont(fontSize)); for (int f = 0; f <= end_f; f++) {