fml toggle update
This commit is contained in:
1 parent
3c784505d2
commit
cd475c6508
3 files changed
+10
-5
No files matched your search
@@ -205,7 +205,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
|
||||
$backgroundQuad->setStyles($quadStyle, $quadSubstyle);
|
||||
$backgroundQuad->setSize(count($this->adminMenuItems) * $itemSize * 1.15 + 2, $itemSize * $itemMarginFactorY);
|
||||
|
||||
$script->addTooltip($itemQuad, $popoutFrame, Script::OPTION_TOOLTIP_ONCLICK);
|
||||
$script->addToggle($itemQuad, $popoutFrame);
|
||||
|
||||
// Add items
|
||||
$x = -1;
|
||||
@@ -273,7 +273,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
|
||||
$backgroundQuad->setStyles($quadStyle, $quadSubstyle);
|
||||
$backgroundQuad->setSize(count($this->playerMenuItems) * $itemSize * 1.15 + 2, $itemSize * $itemMarginFactorY);
|
||||
|
||||
$script->addTooltip($itemQuad, $popoutFrame, Script::OPTION_TOOLTIP_ONCLICK);
|
||||
$script->addToggle($itemQuad, $popoutFrame);
|
||||
|
||||
// Add items
|
||||
$x = -1;
|
||||
|
||||
Reference in new issue
Block a user