mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 02:31:13 +02:00
Merge pull request #12653 from vladest/bubblu_button_blink_fix
Bubble button blink fix
This commit is contained in:
commit
7ba05e3a5b
1 changed files with 2 additions and 8 deletions
|
@ -89,14 +89,8 @@
|
||||||
bubbleOverlayTimestamp = nowTimestamp;
|
bubbleOverlayTimestamp = nowTimestamp;
|
||||||
Script.update.connect(update);
|
Script.update.connect(update);
|
||||||
updateConnected = true;
|
updateConnected = true;
|
||||||
|
writeButtonProperties(bubbleButtonFlashState);
|
||||||
// Flash button
|
bubbleButtonFlashState = !bubbleButtonFlashState;
|
||||||
if (!bubbleFlashTimer) {
|
|
||||||
bubbleFlashTimer = Script.setInterval(function () {
|
|
||||||
writeButtonProperties(bubbleButtonFlashState);
|
|
||||||
bubbleButtonFlashState = !bubbleButtonFlashState;
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called from the C++ scripting interface to show the bubble overlay
|
// Called from the C++ scripting interface to show the bubble overlay
|
||||||
|
|
Loading…
Reference in a new issue