Commit d93e8fb4 authored by Roque's avatar Roque

erp5_officejs_drone_simulator: fix fullscreen

parent 3a0eef97
Pipeline #28760 failed with stage
in 0 seconds
...@@ -644,9 +644,9 @@ var GameManager = /** @class */ (function () { ...@@ -644,9 +644,9 @@ var GameManager = /** @class */ (function () {
if (fullscreen) { if (fullscreen) {
//Only resize if size changes //Only resize if size changes
if (this._canvas.width !== this._canvas_width * 2) { if (this._canvas.width !== GAMEPARAMETERS.fullscreen.width) {
this._canvas.width = this._canvas_width * 2; this._canvas.width = GAMEPARAMETERS.fullscreen.width;
this._canvas.height = this._canvas_height * 2; this._canvas.height = GAMEPARAMETERS.fullscreen.height;
} }
} else { } else {
if (this._canvas.width !== this._canvas_width) { if (this._canvas.width !== this._canvas_width) {
......
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1009.7343.39937.16861</string> </value> <value> <string>1009.7345.31305.44339</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1686857368.61</float> <float>1687455790.77</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment