screenshot: dont put region size in the region

This commit is contained in:
end-4
2025-10-15 10:11:24 +02:00
parent d8b6d52a85
commit 44d5994248
2 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -425,11 +425,13 @@ ShellRoot {
radius: 0 // TODO: figure out how to make the overlay thing work with rounding
}
StyledText {
z: 2
anchors {
bottom: selectionBorder.bottom
top: selectionBorder.bottom
right: selectionBorder.right
margins: 8
}
color: root.selectionBorderColor
text: `${Math.round(panelWindow.regionWidth)} x ${Math.round(panelWindow.regionHeight)}`
}