No need to count the displays
This commit is contained in:
@@ -520,8 +520,7 @@ Panel {
|
|||||||
if (root.brightnessAvailable) {
|
if (root.brightnessAvailable) {
|
||||||
return root.brightnessName(brightnessSlider.dragging ? brightnessSlider.liveValue : root.brightnessPercent).toUpperCase()
|
return root.brightnessName(brightnessSlider.dragging ? brightnessSlider.liveValue : root.brightnessPercent).toUpperCase()
|
||||||
}
|
}
|
||||||
var count = root.enabledDisplayCount
|
return "FIXED BRIGHTNESS"
|
||||||
return (count === 1 ? "1 display" : count + " displays").toUpperCase()
|
|
||||||
}
|
}
|
||||||
color: Qt.darker(root.bar.foreground, 1.4)
|
color: Qt.darker(root.bar.foreground, 1.4)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
|
|||||||
Reference in New Issue
Block a user