Fullscreen seems to work correctly
This commit is contained in:
parent
e334dc450d
commit
bcff6a7647
|
@ -177,11 +177,14 @@ function fullscreen() {
|
||||||
function stopFullscreen() {
|
function stopFullscreen() {
|
||||||
isFullscreen = false;
|
isFullscreen = false;
|
||||||
|
|
||||||
// container.style.position = "";
|
container.style.position = "";
|
||||||
container.style.cssFloat = "";
|
container.style.cssFloat = "";
|
||||||
|
container.style.top = "";
|
||||||
|
container.style.bottom = "";
|
||||||
|
container.style.left = "";
|
||||||
|
container.style.right = "";
|
||||||
container.style.width = container_size.width() + "px";
|
container.style.width = container_size.width() + "px";
|
||||||
container.style.height = container_size.height() + "px";
|
container.style.height = container_size.height() + "px";
|
||||||
container.style.overflow = "";
|
|
||||||
|
|
||||||
// canvas.style.position = "";
|
// canvas.style.position = "";
|
||||||
// canvas.style.cssFloat = "";
|
// canvas.style.cssFloat = "";
|
||||||
|
|
Loading…
Reference in New Issue