NightLight/Bar: left click toggle, converted to NIconButton

+ Adapted some tooltip to the new richtext NText
This commit is contained in:
quadbyte 2025-08-31 01:26:04 -04:00
parent 87f9afbd85
commit 80f6570f04
7 changed files with 39 additions and 51 deletions

View file

@ -70,8 +70,8 @@ Item {
var monitor = getMonitor()
if (!monitor)
return ""
return "Brightness: " + Math.round(monitor.brightness * 100) + "%\nMethod: " + monitor.method
+ "\nLeft click for advanced settings.\nScroll up/down to change brightness."
return "Brightness: " + Math.round(monitor.brightness * 100) + "%<br/>Method: " + monitor.method
+ "<br/>Left click for advanced settings.<br/>Scroll up/down to change brightness."
}
onWheel: function (angle) {