Protection agains null coordinates
This commit is contained in:
1 parent
3fc791c8f0
commit
dc57ec93da
3 files changed
+17
-1
No files matched your search
@@ -29,7 +29,7 @@ function newWorkspace () {
|
||||
thisObject.container.frame.width = 0
|
||||
thisObject.container.frame.height = 0
|
||||
|
||||
spawnPosition = {
|
||||
let spawnPosition = {
|
||||
x: canvas.floatingSpace.container.frame.width / 2,
|
||||
y: canvas.floatingSpace.container.frame.height / 2
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user