1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-15 02:02:08 -04:00

screenshot: fix some region mappings

This commit is contained in:
bbedward
2025-12-05 15:25:27 -05:00
parent 6d0c56554f
commit 52d5e21fc4
4 changed files with 113 additions and 38 deletions

View File

@@ -72,7 +72,7 @@ func (r *RegionSelector) drawOverlay(os *OutputSurface, renderBuf *ShmBuffer) {
r.drawHUD(data, stride, w, h)
if !r.selection.hasSelection || r.activeSurface != os {
if !r.selection.hasSelection || r.selection.surface != os {
return
}