Protection agains null coordinates

This commit is contained in:
Luis Fernando Molina committed 2019-06-06 13:50:14 +02:00
1 parent 3fc791c8f0
commit dc57ec93da
3 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -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
}