Skip to content

Commit 6dc4a12

Browse files
committed
Merge branch 'master' of https://github.com/photonstorm/phaser
2 parents a506fcc + b48c2a8 commit 6dc4a12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cameras/2d/Camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ var Camera = new Class({
799799
{
800800
var width = this.width;
801801
var height = this.height;
802-
var zoom = this.zoom + baseScale;
802+
var zoom = this.zoom * baseScale;
803803
var matrix = this.matrix;
804804
var originX = width / 2;
805805
var originY = height / 2;

0 commit comments

Comments
 (0)