BlueGit

blue-star speeltuin

fw

timfa Tim · pushed by timfa

Authored 2022-10-20 · 4 years ago

Hash
9ab4f389b08753dbd6181a97b743aaad84788ea4
Parent
25d6f56b
1 file changed +4 −4
build/framework.js +4 −4
@@ -856,15 +856,15 @@ class Scene
856 856 if (this.canvas.height != this.real_size.y)
857 857 this.canvas.height = this.real_size.y;
858 858
859 if (px != this.real_position.x)
859 if (this.px != this.real_position.x)
860 860 {
861 px = this.real_position.x;
861 this.px = this.real_position.x;
862 862 this.canvas.style.left = this.real_position.x;
863 863 }
864 864
865 if (px != this.real_position.y)
865 if (this.py != this.real_position.y)
866 866 {
867 px = this.real_position.y;
867 this.py = this.real_position.y;
868 868 this.canvas.style.top = this.real_position.y;
869 869 }
870 870
@@ -856,15 +856,15 @@ class Scene
856 if (this.canvas.height != this.real_size.y)
856 if (this.canvas.height != this.real_size.y)
857 this.canvas.height = this.real_size.y;
857 this.canvas.height = this.real_size.y;
858
858
859 if (px != this.real_position.x)
859 if (this.px != this.real_position.x)
860 {
860 {
861 px = this.real_position.x;
861 this.px = this.real_position.x;
862 this.canvas.style.left = this.real_position.x;
862 this.canvas.style.left = this.real_position.x;
863 }
863 }
864
864
865 if (px != this.real_position.y)
865 if (this.py != this.real_position.y)
866 {
866 {
867 px = this.real_position.y;
867 this.py = this.real_position.y;
868 this.canvas.style.top = this.real_position.y;
868 this.canvas.style.top = this.real_position.y;
869 }
869 }
870
870