Merge pull request #79 from AAMasters/develop

Fixed Size for Floating Space. BUG FIXED when sharing workspaces gene…
This commit is contained in:
benme authored and GitHub committed 2019-07-02 16:59:31 -03:00
commit 2476a5a97e
1 file changed
+3 -3
+3 -3
View File
@@ -33,10 +33,10 @@ function newFloatingSpace () {
thisObject.container.frame.radius = 0
let devicePixelRatio = window.devicePixelRatio
const SPACE_SIZE = 10
const SPACE_SIZE = 50000
thisObject.container.frame.width = browserCanvas.width * devicePixelRatio * SPACE_SIZE
thisObject.container.frame.height = browserCanvas.height * devicePixelRatio * SPACE_SIZE
thisObject.container.frame.width = devicePixelRatio * SPACE_SIZE
thisObject.container.frame.height = devicePixelRatio * SPACE_SIZE
thisObject.container.frame.position.x = browserCanvas.width / 2 - thisObject.container.frame.width / 2
thisObject.container.frame.position.y = browserCanvas.height / 2 - thisObject.container.frame.height / 2