diff options
author | heav-4 <heavpoot@gmail.com> | 2022-03-17 02:55:33 +0000 |
---|---|---|
committer | heav-4 <heavpoot@gmail.com> | 2022-03-17 02:55:33 +0000 |
commit | ba1b317b3b4de92d7f39dceb988a41840e4fc942 (patch) | |
tree | f6ce7ff0c56b5908039f6ed6d426d7b6976aa189 | |
parent | 18aac387aad24918d91876bd082885c8fe5484e6 (diff) |
fix panning
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ end local function view_transform() local scale = view_scale() - local trans = love.math.newTransform(0, 0, 1/scale, 1/scale) + local trans = love.math.newTransform(0, 0, 0, 1/scale, 1/scale) trans:translate(cam.x, cam.y) return trans end |