mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:44:46 +00:00
set look and feel only when it is different from the previous
This commit is contained in:
@@ -861,10 +861,7 @@ public class Main {
|
||||
exit();
|
||||
}
|
||||
if (Configuration.useRibbonInterface.get()) {
|
||||
Stopwatch sw = Stopwatch.startNew();
|
||||
View.setLookAndFeel();
|
||||
sw.stop();
|
||||
System.out.println("sw: " + sw.getElapsedMilliseconds());
|
||||
} else {
|
||||
try {
|
||||
UIManager.put(SubstanceLookAndFeel.COLORIZATION_FACTOR, null);
|
||||
|
||||
Reference in New Issue
Block a user