ups
@@ -157,15 +157,15 @@ class Scene
157
157
if (this.canvas.height != this.real_size.y)
158
158
this.canvas.height = this.real_size.y;
159
159
160
if (px != this.real_position.x)
160
if (this.px != this.real_position.x)
161
161
{
162
px = this.real_position.x;
162
this.px = this.real_position.x;
163
163
this.canvas.style.left = this.real_position.x;
164
164
}
165
165
166
if (px != this.real_position.y)
166
if (this.py != this.real_position.y)
167
167
{
168
px = this.real_position.y;
168
this.py = this.real_position.y;
169
169
this.canvas.style.top = this.real_position.y;
170
170
}
171
171
@@ -157,15 +157,15 @@ class Scene157
if (this.canvas.height != this.real_size.y)157
if (this.canvas.height != this.real_size.y)158
this.canvas.height = this.real_size.y;158
this.canvas.height = this.real_size.y;159
159
160
if (px != this.real_position.x)160
if (this.px != this.real_position.x)161
{161
{162
px = this.real_position.x;162
this.px = this.real_position.x;163
this.canvas.style.left = this.real_position.x;163
this.canvas.style.left = this.real_position.x;164
}164
}165
165
166
if (px != this.real_position.y)166
if (this.py != this.real_position.y)167
{167
{168
px = this.real_position.y;168
this.py = this.real_position.y;169
this.canvas.style.top = this.real_position.y;169
this.canvas.style.top = this.real_position.y;170
}170
}171
171