Skip to content

Commit

Permalink
Merge pull request #1054 from solaris-games/fix/ignore-clamp
Browse files Browse the repository at this point in the history
Deactivate clamping since it breaks on certain map sizes
  • Loading branch information
SpacialCircumstances authored Jun 26, 2024
2 parents 9ae4122 + c2be9bb commit e777321
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions client/src/game/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,6 @@ class GameContainer {
smooth: 5
})
.decelerate({ friction: 0.9 })
.clamp({
left: this.starFieldLeft * 2,
right: this.starFieldRight * 2,
top: this.starFieldTop * 2,
bottom: this.starFieldBottom * 2,
underflow: 'none',
})
.clampZoom({
minWidth: 50,
minHeight: 50,
Expand Down

0 comments on commit e777321

Please sign in to comment.