Added debug keybind for FlatUIDefaultsInspector

This commit is contained in:
RaphiMC 2023-12-24 12:54:48 +01:00
parent bad937829b
commit 02b1f790de
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -19,6 +19,7 @@ package net.raphimc.viaproxy.ui;
import com.formdev.flatlaf.FlatDarkLaf;
import com.formdev.flatlaf.extras.FlatInspector;
import com.formdev.flatlaf.extras.FlatUIDefaultsInspector;
import net.lenni0451.lambdaevents.EventHandler;
import net.lenni0451.lambdaevents.LambdaManager;
import net.lenni0451.lambdaevents.generator.LambdaMetaFactoryGenerator;
@ -66,6 +67,7 @@ public class ViaProxyUI extends JFrame {
this.initTabs();
FlatInspector.install("ctrl shift alt X");
FlatUIDefaultsInspector.install("ctrl shift alt Y");
ToolTipManager.sharedInstance().setInitialDelay(100);
ToolTipManager.sharedInstance().setDismissDelay(10_000);
SwingUtilities.updateComponentTreeUI(this);