mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-30 14:06:52 +00:00
Making internal flash viewer a default viewer + move FP option switch to Advanced settings / others
This commit is contained in:
@@ -3118,8 +3118,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isInternalFlashViewerSelected() {
|
||||
return mainMenu.isInternalFlashViewerSelected();
|
||||
public boolean isAdobeFlashPlayerEnabled() {
|
||||
return Configuration.useAdobeFlashPlayerForPreviews.get();
|
||||
}
|
||||
|
||||
public static final int VIEW_RESOURCES = 0;
|
||||
@@ -3302,7 +3302,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
previewPanel.showEmpty();
|
||||
return;
|
||||
}
|
||||
boolean internalViewer = isInternalFlashViewerSelected();
|
||||
boolean internalViewer = !isAdobeFlashPlayerEnabled();
|
||||
if (treeItem instanceof SWF) {
|
||||
SWF swf = (SWF) treeItem;
|
||||
if (internalViewer) {
|
||||
@@ -3422,7 +3422,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
|
||||
previewPanel.setImageReplaceButtonVisible(false, false);
|
||||
|
||||
boolean internalViewer = isInternalFlashViewerSelected();
|
||||
boolean internalViewer = !isAdobeFlashPlayerEnabled();
|
||||
|
||||
if (treeItem instanceof ScriptPack) {
|
||||
final ScriptPack scriptLeaf = (ScriptPack) treeItem;
|
||||
|
||||
Reference in New Issue
Block a user