From 02b1f790de85dc5eceae72c2f835d422e8a6b703 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 24 Dec 2023 12:54:48 +0100 Subject: [PATCH] Added debug keybind for FlatUIDefaultsInspector --- src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java b/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java index fce6025..b1a95c5 100644 --- a/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java +++ b/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java @@ -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);