Skip to content

Commit

Permalink
client/camera: Reduced the leeway distance
Browse files Browse the repository at this point in the history
In which the cursor has to be from the edge of the screen to make it move with edge panning
  • Loading branch information
xescugc committed Feb 3, 2024
1 parent 8f6b994 commit 4c5f9a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
zoomScale = 0.5
minZoom = 0
maxZoom = 2
leeway = 50
leeway = 25
)

// NewCameraStore creates a new CameraState linked to the Dispatcher d
Expand Down
Binary file modified server/assets/wasm/maze-wars.wasm
Binary file not shown.

0 comments on commit 4c5f9a6

Please sign in to comment.