Skip to content

Commit

Permalink
bump the update
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed May 30, 2024
1 parent 6815e83 commit 5f68f11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Tools/HolocronToolset/src/toolset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
# <---JSON_START--->#{
"currentVersion": "3.0.0b9",
"toolsetLatestVersion": "2.1.2",
"toolsetLatestBetaVersion": "3.0.0b8.1",
"toolsetLatestBetaVersion": "3.0.0b9",
"updateInfoLink": "https://api.github.com/repos/NickHugi/PyKotor/contents/Tools/HolocronToolset/src/toolset/config.py",
"updateBetaInfoLink": "https://api.github.com/repos/NickHugi/PyKotor/contents/Tools/HolocronToolset/src/toolset/config.py?ref=bleeding-edge",
"toolsetDownloadLink": "https://deadlystream.com/files/file/1982-holocron-toolset",
"toolsetBetaDownloadLink": "https://github.com/NickHugi/PyKotor/releases/tag/v3.0.0b8.1-toolset",
"toolsetBetaDownloadLink": "https://github.com/NickHugi/PyKotor/releases/tag/v3.0.0b9-toolset",
"toolsetDirectLinks": {
"Darwin": {
"32bit": [],
Expand Down
12 changes: 6 additions & 6 deletions Tools/HolocronToolset/src/toolset/gui/windows/module_designer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2189,12 +2189,12 @@ def onMouseMoved(self, screen: Vector2, screenDelta: Vector2, world: Vector2, wo
if shouldMoveCamera or shouldRotateCamera:
self.renderer.doCursorLock(screen)
adjustedWorldDelta = Vector2(-worldDelta.x, -worldDelta.y)
if shouldMoveCamera:
strength = self.settings.moveCameraSensitivity2d / 100
self.renderer.camera.nudgePosition(-worldDelta.x * strength, -worldDelta.y * strength)
if shouldRotateCamera:
strength = self.settings.rotateCameraSensitivity2d / 100 / 50
self.renderer.camera.nudgeRotation(screenDelta.x * strength)
if shouldMoveCamera:
strength = self.settings.moveCameraSensitivity2d / 100
self.renderer.camera.nudgePosition(-worldDelta.x * strength, -worldDelta.y * strength)
if shouldRotateCamera:
strength = self.settings.rotateCameraSensitivity2d / 100 / 50
self.renderer.camera.nudgeRotation(screenDelta.x * strength)

if self.editor.ui.lockInstancesCheck.isChecked():
return
Expand Down

0 comments on commit 5f68f11

Please sign in to comment.