mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Modified limits to zooming
#story[1121]
This commit is contained in:
@@ -104,7 +104,7 @@ public class GameView extends Pane {
|
||||
|
||||
public void zoomIn() {
|
||||
scaleFactor = 0.10;
|
||||
if (this.getScaleX() < 3) {
|
||||
if (this.getScaleX() < 2.5) {
|
||||
this.setScaleX(this.getScaleX() + scaleFactor);
|
||||
this.setScaleY(this.getScaleY() + scaleFactor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user