Reducing Funcitonality to Floating Object Only
This commit is contained in:
1 parent
64e154d165
commit
e19dbd5655
3 files changed
+74
-69
No files matched your search
@@ -102,6 +102,7 @@ function newFloatingObject () {
|
||||
}
|
||||
|
||||
function getContainer (point) {
|
||||
if (thisObject.isCollapsed === true && thisObject.collapsedManually === false) { return }
|
||||
let container
|
||||
|
||||
container = thisObject.payload.uiObject.getContainer(point)
|
||||
@@ -336,14 +337,17 @@ function newFloatingObject () {
|
||||
}
|
||||
|
||||
function drawBackground () {
|
||||
if (thisObject.isCollapsed === true && thisObject.collapsedManually === false) { return }
|
||||
thisObject.payload.uiObject.drawBackground()
|
||||
}
|
||||
|
||||
function drawMiddleground () {
|
||||
if (thisObject.isCollapsed === true && thisObject.collapsedManually === false) { return }
|
||||
thisObject.payload.uiObject.drawMiddleground()
|
||||
}
|
||||
|
||||
function drawForeground () {
|
||||
if (thisObject.isCollapsed === true && thisObject.collapsedManually === false) { return }
|
||||
thisObject.payload.uiObject.drawForeground()
|
||||
}
|
||||
|
||||
@@ -455,4 +459,3 @@ function newFloatingObject () {
|
||||
function updateRadius () {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user