Skip to content

Commit

Permalink
fixed #8
Browse files Browse the repository at this point in the history
  • Loading branch information
NotLe0n committed Jul 16, 2022
1 parent c79abb9 commit 8b45ba8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion EditorCameraSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace CameraControl;

internal class EditorCameraSystem : ModSystem
{
public static Vector2 RealMouseWorld => Main.GameViewMatrix.Translation + Main.screenPosition + (Main.MouseScreen / Main.GameViewMatrix.Zoom);
public static Vector2 RealMouseWorld => Main.GameViewMatrix.Translation + Main.screenPosition + (Main.MouseScreen / Main.GameViewMatrix.Zoom * Main.UIScale);

private static Vector2 position;

Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
displayName = Camera Control
author = NotLe0n
version = 0.1
version = 0.1.1
hideCode = false
hideResources = false
includeSource = false
Expand Down
2 changes: 1 addition & 1 deletion description.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Camera Control is the perfect tool for making showcase or youtube videos!
Camera Control is the perfect tool for making showcase, cinematic or youtube videos!
It allows you to move the camera along a predefined path, lock the camera to a fixed point
or make the camera follow an NPC, Item or Projectile.

Expand Down
2 changes: 1 addition & 1 deletion description_workshop.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[h1]Camera Control[/h1]

Camera Control is the perfect tool for making showcase or youtube videos!
Camera Control is the perfect tool for making showcase, cinematic or youtube videos!
It allows you to move the camera along a predefined path, lock the camera to a fixed point
or make the camera follow an NPC, Item or Projectile.

Expand Down

0 comments on commit 8b45ba8

Please sign in to comment.