Skip to content

Commit 02e2f7a

Browse files
committed
Fixed panning bug and bumped version
1 parent 1adcb3f commit 02e2f7a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.3.1
2+
- Fixed a bug with panning on PC
3+
14
# 1.3.0
25
- Added Mac support! Massive thanks to [hiimjasmine00](https://github.com/hiimjasmine00), she did all the work :))
36
- Updated to Geode 4.4.0

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"id": "bobby_shmurner.zoom",
1010
"name": "Zoooom!",
11-
"version": "1.3.0",
11+
"version": "1.3.1",
1212
"developer": "Bobby Shmurner",
1313
"description": "Allows you to zoom while paused!",
1414
"links": {

src/desktop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void WindowsZoomManager::update(float dt) {
114114

115115
if (isPanning) {
116116
CCPoint delta = WindowsZoomManager::get()->deltaMousePos;
117-
move(screenToWorld(CCPoint { delta.x, -delta.y }));
117+
move(delta);
118118
}
119119
}
120120

0 commit comments

Comments
 (0)