mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Use correct values in clamp calls.
This commit is contained in:
parent
22f14ed6dc
commit
1293e427dd
1 changed files with 2 additions and 2 deletions
|
@ -885,8 +885,8 @@ var Camera = new Class({
|
|||
this.scrollY = fy - originY;
|
||||
|
||||
if (this.useBounds) {
|
||||
this.scrollX = this.clampX(scrollX);
|
||||
this.scrollY = this.clampY(scrollY);
|
||||
this.scrollX = this.clampX(this.scrollX);
|
||||
this.scrollY = this.clampY(this.scrollY);
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
Loading…
Add table
Reference in a new issue