From 3024c7dcdc884ee9ca4f4b7cfa38962b0ed92762 Mon Sep 17 00:00:00 2001 From: Boof2015 <75185879+Boof2015@users.noreply.github.com> Date: Sat, 28 Mar 2026 02:48:56 -0400 Subject: [PATCH] reorder the scopes --- .gitignore | 3 + src/renderer/components/Strip.tsx | 31 +++++++++- src/renderer/stores/settingsStore.ts | 63 ++++++++++++++++++--- src/renderer/styles/globals.css | 54 ++++++++++++++++-- test/renderer-helpers.test.ts | 84 ++++++++++++++++++++++++++++ 5 files changed, 220 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 4f95701..2269308 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,6 @@ Thumbs.db npm-debug.log* yarn-debug.log* yarn-error.log* + +# notes +untitled-1 diff --git a/src/renderer/components/Strip.tsx b/src/renderer/components/Strip.tsx index d068e88..1e25d18 100644 --- a/src/renderer/components/Strip.tsx +++ b/src/renderer/components/Strip.tsx @@ -13,6 +13,7 @@ export default function Strip(): JSX.Element { const hiddenScopes = useSettingsStore((s) => s.hiddenScopes) const scopePopouts = useSettingsStore((s) => s.scopePopouts) const widthWeights = useSettingsStore((s) => s.widthWeights) + const moveDockedScope = useSettingsStore((s) => s.moveDockedScope) const setScopeWidthWeight = useSettingsStore((s) => s.setScopeWidthWeight) const popOutScope = useSettingsStore((s) => s.popOutScope) const accent = useThemeStore((s) => s.accent) @@ -192,7 +193,7 @@ export default function Strip(): JSX.Element { return (
- {dockedScopes.map((kind) => ( + {dockedScopes.map((kind, index) => (
{ @@ -200,6 +201,34 @@ export default function Strip(): JSX.Element { }} className="scope-strip__cell" > + {dockedScopes.length > 1 && ( +
+ + +
+ )}