Merge pull request #4062 from s-s/bugfix-4010

#4010 fix
This commit is contained in:
Richard Davey 2018-09-25 16:10:12 +01:00 committed by GitHub
commit 9b09d32426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -802,8 +802,8 @@ var BaseCamera = new Class({
var sy = y + ((scrollX * s + scrollY * c) * zoom); var sy = y + ((scrollX * s + scrollY * c) * zoom);
// Apply transform to point // Apply transform to point
output.x = (sx * ima + sy * imc + ime) * res; output.x = (sx * ima + sy * imc) * res + ime;
output.y = (sx * imb + sy * imd + imf) * res; output.y = (sx * imb + sy * imd) * res + imf;
return output; return output;
}, },