Modified limits to zooming

#story[1121]
This commit is contained in:
Kusal Ekanayake
2017-08-16 18:06:39 +12:00
parent 9c2bac36b6
commit 85852df176
@@ -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);
}