Commit 79c93041 authored by Roque's avatar Roque Committed by Kazuhiko Shiozaki

erp5_officejs_drone_simulator: fix fullscreen

parent 3132fdb3
......@@ -644,9 +644,9 @@ var GameManager = /** @class */ (function () {
if (fullscreen) {
//Only resize if size changes
if (this._canvas.width !== this._canvas_width * 2) {
this._canvas.width = this._canvas_width * 2;
this._canvas.height = this._canvas_height * 2;
if (this._canvas.width !== GAMEPARAMETERS.fullscreen.width) {
this._canvas.width = GAMEPARAMETERS.fullscreen.width;
this._canvas.height = GAMEPARAMETERS.fullscreen.height;
}
} else {
if (this._canvas.width !== this._canvas_width) {
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1009.7343.39937.16861</string> </value>
<value> <string>1009.7345.31305.44339</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1686857368.61</float>
<float>1687455790.77</float>
<string>UTC</string>
</tuple>
</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