✨ feat(control-center/pages): new way to add pages with new animation
makes Pages widget derivate from GtkBox, allowing multiple childs, which are now page revealers(GtkRevealers) that reveal the Page widgets
This commit is contained in:
@@ -168,8 +168,7 @@ class Page extends Widget.Box {
|
||||
this.#title = props.title;
|
||||
this.#description = props.description;
|
||||
|
||||
if(props.onClose)
|
||||
this.onClose = props.onClose;
|
||||
this.onClose = props.onClose;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user