mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Check in the fan curve work
This commit is contained in:
@@ -7,8 +7,8 @@ component SideBarItem inherits Rectangle {
|
||||
padding: 10px;
|
||||
in property <bool> selected;
|
||||
in property <bool> has-focus;
|
||||
in-out property <string> text<=> label.text;
|
||||
callback clicked<=>touch.clicked;
|
||||
in-out property <string> text <=> label.text;
|
||||
callback clicked <=> touch.clicked;
|
||||
min-height: self.visible ? l.preferred-height + 10px : 0px;
|
||||
// min-width: self.visible ? l.preferred-width + 10px : 0px;
|
||||
states [
|
||||
@@ -54,7 +54,7 @@ component SideBarItem inherits Rectangle {
|
||||
export component SideBar inherits Rectangle {
|
||||
in property <[string]> model: [];
|
||||
in property <[bool]> available: [];
|
||||
in property <string> title<=> label.text;
|
||||
in property <string> title <=> label.text;
|
||||
out property <int> current-item: 0;
|
||||
out property <int> current-focused: fs.has-focus ? fs.focused-tab : -1;
|
||||
// The currently focused tab
|
||||
|
||||
Reference in New Issue
Block a user