Skip to content

Commit

Permalink
maybe this will be the fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Jan 22, 2024
1 parent 3cdff2c commit 2d6e297
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public static void setupTheme() {
Config.activeLookAndFeel = laf;
laf.setGlobalLAF();
Config.currentColors().configure(LookAndFeel.isDarkLaf());
Config.updateSyntaxpain();
Themes.setFonts();
UIManager.put("ScrollBar.showButtons", true);
JEditorPane.registerEditorKitForContentType("text/enigma-sources", JavaSyntaxKit.class.getName());
ScaleUtil.applyScaling();
Config.updateSyntaxpain();
}

private static void setFonts() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public EditorPanel openClass(ClassEntry entry) {
if (ch == null) return null;
this.navigator = new NavigatorPanel(this.gui);
EditorPanel ed = new EditorPanel(this.gui, this.navigator);
ed.getEditor().updateUI();
ed.setClassHandle(ch);
this.openFiles.addTab(ed.getFileName(), ed.getUi());

Expand Down

This file was deleted.

0 comments on commit 2d6e297

Please sign in to comment.