aboutsummaryrefslogtreecommitdiff
path: root/src/im.lua
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-12 16:41:55 -0400
committeriamcheeseman <[email protected]>2026-03-12 16:41:55 -0400
commite3634a80ad29221b9fc0cc60a543027074096dd1 (patch)
tree485cb8f15523d21be36cc9c33283ba296a6337bd /src/im.lua
parent756a3446b66d86c7ee785b69e7103c79a12bdf13 (diff)
Move the UI rendering outside of the canvas
Diffstat (limited to 'src/im.lua')
-rw-r--r--src/im.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im.lua b/src/im.lua
index 7602765..bd3f021 100644
--- a/src/im.lua
+++ b/src/im.lua
@@ -344,7 +344,7 @@ function im.begin_window(title, x, y, w, h, opts)
title_x, title_y = win.x + 1, win.y + 1
end
- stencil_cmd(0, 0, viewport:getDimensions())
+ stencil_cmd(0, 0, love.graphics.getDimensions())
rect_cmd(win.x, win.y, win.w, win.h, unpack(im.cols.border))