Ready for Click

This commit is contained in:
Luis Fernando Molina committed 2019-05-05 21:17:55 +02:00
1 parent fb9448220b
commit e6a462fd72
2 files changed
+29 -16

No files matched your search

+13 -4
View File
@@ -291,9 +291,13 @@ function newStrategyPart () {
}
function drawBackground (pFloatingObject) {
drawPartBackground(pFloatingObject)
if (isMouseOver === false) {
drawPartBackground(pFloatingObject)
thisObject.menu.drawBackground()
thisObject.menu.drawBackground()
drawPartForeground(pFloatingObject)
thisObject.menu.drawForeground()
}
}
function drawPartBackground (pFloatingObject) {
@@ -339,8 +343,13 @@ function newStrategyPart () {
}
function drawForeground (pFloatingObject) {
drawPartForeground(pFloatingObject)
thisObject.menu.drawForeground()
if (isMouseOver === true) {
drawPartBackground(pFloatingObject)
thisObject.menu.drawBackground()
drawPartForeground(pFloatingObject)
thisObject.menu.drawForeground()
}
}
function drawPartForeground (pFloatingObject) {