- [FIX] mouse.pos() donava coordenades reals de finestra, en compte de tindre en compte el zoom.

This commit is contained in:
JailDoctor committed 2025-06-19 12:44:51 +02:00
1 parent 9cd991cb44
commit 34a56fedcf
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -29,4 +29,8 @@ function mini.update()
if key.press(key.N3) then
shader.disable()
end
local mx, my = mouse.pos()
draw.rectf(mx, my, 4, 4, 8)
draw.text(mx .. " " .. my, 1, 8, 8)
end