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 && ( +
+ + +
+ )}