Unify editor input with room preview transform
This commit is contained in:
parent
3c5e6daf06
commit
8fae34b803
5 changed files with 82 additions and 29 deletions
5
main.lua
5
main.lua
|
|
@ -129,7 +129,10 @@ function love.draw()
|
|||
-- Blitting the canvas 1:1 afterwards means no rescaling of the final image
|
||||
-- (crisp, nearest-neighbor throughout — nothing is averaged).
|
||||
love.graphics.setCanvas(sideBarCanvas)
|
||||
love.graphics.clear()
|
||||
-- The gameplay view now intentionally extends beyond its old room bounds.
|
||||
-- Keep the editor panel opaque so that neighbourhood preview never shows
|
||||
-- through empty areas of the UI.
|
||||
love.graphics.clear(0, 0, 0, 1)
|
||||
love.graphics.push()
|
||||
love.graphics.scale(editorRenderScale, editorRenderScale)
|
||||
editorDraw()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue