Skip to content

Commit d2e075e

Browse files
committed
Actually update the screen space when it is discovered
1 parent 0de8c1e commit d2e075e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/driver/mobile/driver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (d *mobileDriver) Run() {
187187
currentDPI = e.PixelsPerPt * 72
188188
d.setTheme(e.DarkMode)
189189

190-
dev := d.device
190+
dev := &d.device
191191
dev.safeTop = e.InsetTopPx
192192
dev.safeLeft = e.InsetLeftPx
193193
dev.safeHeight = e.HeightPx - e.InsetTopPx - e.InsetBottomPx

0 commit comments

Comments
 (0)