config: option to show/hide screenshot content regions (#1539)

This commit is contained in:
end-4
2025-07-06 09:06:14 +02:00
parent 7bcb01964f
commit 43b9378144
2 changed files with 5 additions and 1 deletions
@@ -222,6 +222,10 @@ Singleton {
property JsonObject hacks: JsonObject {
property int arbitraryRaceConditionDelay: 20 // milliseconds
}
property JsonObject screenshotTool: JsonObject {
property bool showContentRegions: true
}
}
}
}
+1 -1
View File
@@ -517,7 +517,7 @@ ShellRoot {
// Image regions
Repeater {
model: ScriptModel {
values: panelWindow.imageRegions
values: Config.options.screenshotTool.showContentRegions ? panelWindow.imageRegions : []
}
delegate: TargetRegion {
z: 4