mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Compositor: proper monitor scaling detection and display in settings + fixes blurry wallpapers on compositor scaled monitors.
This commit is contained in:
@@ -90,11 +90,15 @@ ColumnLayout {
|
||||
|
||||
NLabel {
|
||||
label: modelData.name || "Unknown"
|
||||
description: I18n.tr("system.monitor-description", {
|
||||
"model": modelData.model,
|
||||
"width": modelData.width,
|
||||
"height": modelData.height
|
||||
})
|
||||
description: {
|
||||
const compositorScale = CompositorService.getDisplayScale(modelData.name)
|
||||
I18n.tr("system.monitor-description", {
|
||||
"model": modelData.model,
|
||||
"width": modelData.width * compositorScale,
|
||||
"height": modelData.height * compositorScale,
|
||||
"scale": compositorScale
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// Scale
|
||||
|
||||
Reference in New Issue
Block a user