chore(bar/workspaces): add revealer to special-workspaces/workspaces separator

This commit is contained in:
retrozinndev
2025-07-30 17:51:41 -03:00
parent 22f9c38c55
commit d417eb8c05
+7 -3
View File
@@ -45,9 +45,13 @@ export const Workspaces = () => {
} }
</For> </For>
</Gtk.Box> </Gtk.Box>
<Separator alpha={.2} orientation={Gtk.Orientation.HORIZONTAL} <Gtk.Revealer transitionType={Gtk.RevealerTransitionType.SLIDE_RIGHT}
margin={12} spacing={8} visible={variableToBoolean(specialWorkspaces)} transitionDuration={220} revealChild={variableToBoolean(specialWorkspaces)}>
/>
<Separator alpha={.2} orientation={Gtk.Orientation.HORIZONTAL}
margin={12} spacing={8} visible={variableToBoolean(specialWorkspaces)}
/>
</Gtk.Revealer>
<Gtk.Box class={"default-workspaces"} spacing={4} $={(self) => { <Gtk.Box class={"default-workspaces"} spacing={4} $={(self) => {
const conns: Map<GObject.Object, Array<number>|number> = new Map(); const conns: Map<GObject.Object, Array<number>|number> = new Map();
const controllerScroll = Gtk.EventControllerScroll.new( const controllerScroll = Gtk.EventControllerScroll.new(