BlueGit

timfa frameworkv3

remov

timfa Tim · pushed by timfa

Authored 2022-10-14 · 4 years ago

Hash
d238f51f0f0a376a043f34c444114da9f782ef74
Parent
beac3d8a
1 file changed +0 −1
framework/window.js +0 −1
@@ -39,7 +39,6 @@ var GameWindow =
39 39 var body = document.body;
40 40 body.insertAdjacentHTML('beforeend', '<canvas id="' + GameWindow.elementID + '" style="position: absolute; left: ' + x + 'px; top: ' + y + 'px; border: 1px solid black;" width="' + GameWindow.width + '" height="' + GameWindow.height + '"></canvas>');
41 41
42 //$("body").append('<div id="' + GameWindow.elementID + '" style="position: absolute; left: ' + x + 'px; top: ' + y + 'px; width: ' + GameWindow.width + 'px; height: ' + GameWindow.height + 'px; overflow: hidden; border: 1px solid black;"></div>');
43 42 GameWindow.windowElement = document.getElementById(GameWindow.elementID);
44 43
45 44 GameWindow.canvas = document.getElementById(GameWindow.elementID);
@@ -39,7 +39,6 @@ var GameWindow =
39 var body = document.body;
39 var body = document.body;
40 body.insertAdjacentHTML('beforeend', '<canvas id="' + GameWindow.elementID + '" style="position: absolute; left: ' + x + 'px; top: ' + y + 'px; border: 1px solid black;" width="' + GameWindow.width + '" height="' + GameWindow.height + '"></canvas>');
40 body.insertAdjacentHTML('beforeend', '<canvas id="' + GameWindow.elementID + '" style="position: absolute; left: ' + x + 'px; top: ' + y + 'px; border: 1px solid black;" width="' + GameWindow.width + '" height="' + GameWindow.height + '"></canvas>');
41
41
42 //$("body").append('<div id="' + GameWindow.elementID + '" style="position: absolute; left: ' + x + 'px; top: ' + y + 'px; width: ' + GameWindow.width + 'px; height: ' + GameWindow.height + 'px; overflow: hidden; border: 1px solid black;"></div>');
43 GameWindow.windowElement = document.getElementById(GameWindow.elementID);
42 GameWindow.windowElement = document.getElementById(GameWindow.elementID);
44
43
45 GameWindow.canvas = document.getElementById(GameWindow.elementID);
44 GameWindow.canvas = document.getElementById(GameWindow.elementID);