fix flyouts on multiple monitors again?
This commit is contained in:
parent
75a94628ad
commit
c59a2c622d
6 changed files with 9 additions and 7 deletions
|
|
@ -51,7 +51,9 @@ M.BarIcon {
|
|||
onClicked: {
|
||||
const cycle = ["performance", "balanced", "power-saver"];
|
||||
const idx = cycle.indexOf(root.profile);
|
||||
setter.next = cycle[(idx + 1) % cycle.length];
|
||||
const next = cycle[(idx + 1) % cycle.length];
|
||||
root.profile = next;
|
||||
setter.next = next;
|
||||
setter.running = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue