Removed all creeping: readonly property real scaling: Scaling.scale(screen)

This commit is contained in:
quadbyte 2025-08-15 11:24:05 -04:00
parent f67c48032f
commit 33bec01e98
31 changed files with 294 additions and 333 deletions

View file

@ -15,6 +15,8 @@ NLoader {
id: root
required property ShellScreen modelData
readonly property real scaling: Scaling.scale(screen)
screen: modelData
// Visible ring color
property color ringColor: Colors.mSurface
@ -25,7 +27,7 @@ NLoader {
property int innerRadius: 20
color: "transparent"
screen: modelData
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-corner"
// Do not take keyboard focus and make the surface click-through
@ -39,7 +41,7 @@ NLoader {
}
margins {
top: Math.round(Style.barHeight * Scaling.scale(screen))
top: Math.floor(Style.barHeight * scaling)
}
// Source we want to show only as a ring