mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 17:46:16 +00:00
#823 translatex buttons (FFDec freezes on large files when pressing these buttons) fixed
This commit is contained in:
@@ -237,7 +237,7 @@ public class TextPanel extends JPanel {
|
||||
modified = false;
|
||||
textTag.getSwf().clearImageCache();
|
||||
if (refresh) {
|
||||
mainPanel.refreshTree();
|
||||
mainPanel.repaintTree();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -246,7 +246,7 @@ public class TextPanel extends JPanel {
|
||||
if (mainPanel.alignText(textTag, textAlign)) {
|
||||
updateButtonsVisibility();
|
||||
textTag.getSwf().clearImageCache();
|
||||
mainPanel.refreshTree();
|
||||
mainPanel.repaintTree();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ public class TextPanel extends JPanel {
|
||||
if (mainPanel.translateText(textTag, delta * (repeatCount + 1))) {
|
||||
updateButtonsVisibility();
|
||||
textTag.getSwf().clearImageCache();
|
||||
mainPanel.refreshTree();
|
||||
mainPanel.repaintTree();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -266,7 +266,7 @@ public class TextPanel extends JPanel {
|
||||
}
|
||||
|
||||
textTag.getSwf().clearImageCache();
|
||||
mainPanel.refreshTree();
|
||||
mainPanel.repaintTree();
|
||||
}
|
||||
|
||||
private void textChanged() {
|
||||
|
||||
Reference in New Issue
Block a user