mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-01-23 10:02:45 +00:00
feat: update system
This commit is contained in:
@@ -35,20 +35,10 @@ export default (monitor) => {
|
||||
}),
|
||||
],
|
||||
}),
|
||||
connections: [
|
||||
[
|
||||
"enter-notify-event",
|
||||
() => {
|
||||
revealer.reveal_child = true;
|
||||
},
|
||||
],
|
||||
[
|
||||
"leave-notify-event",
|
||||
() => {
|
||||
revealer.reveal_child = false;
|
||||
},
|
||||
],
|
||||
],
|
||||
binds: [["visible", options.bar.position, "value", (v) => v !== "bottom"]],
|
||||
setup: (self) =>
|
||||
self
|
||||
.on("enter-notify-event", () => (revealer.reveal_child = true))
|
||||
.on("leave-notify-event", () => (revealer.reveal_child = false))
|
||||
.bind("visible", options.bar.position, "value", (v) => v !== "bottom"),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user