From f74ce82fcebdcb11c190a1652277f8e08d9590f4 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Thu, 17 Jul 2025 23:51:05 -0400
Subject: persist plugin state

---
 src/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index e8ab56f..785ecf5 100755
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -11,6 +11,8 @@ export default definePlugin(() => {
     name: "Lossless Scaling",
     // The element displayed at the top of your plugin's menu
     titleView: <div className={staticClasses.Title}>Lossless Scaling</div>,
+    // Always render to retain state when panel is toggled
+    alwaysRender: true,
     // The content of your plugin's menu
     content: <Content />,
     // The icon displayed in the plugin list
-- 
cgit v1.2.3

