From 2165425f8d06fd93ea22641d46407ac484b70829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 17 May 2025 18:13:53 +0200 Subject: [PATCH] Checkstyle fix --- src/com/jpexs/decompiler/flash/easygui/TimelineBodyPanel.java | 3 --- src/com/jpexs/decompiler/flash/easygui/TimelineTimePanel.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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++) {