mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 05:11:43 +02:00
Merge pull request #10616 from vladest/create_button_sticked
Set active button property isActive before Home menu redraw. Makes su…
This commit is contained in:
commit
92fe8145be
1 changed files with 2 additions and 1 deletions
|
@ -618,7 +618,6 @@ var toolBar = (function () {
|
|||
|
||||
that.toggle = function () {
|
||||
that.setActive(!isActive);
|
||||
activeButton.editProperties({isActive: isActive});
|
||||
if (!isActive) {
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
|
@ -642,6 +641,8 @@ var toolBar = (function () {
|
|||
enabled: active
|
||||
}));
|
||||
isActive = active;
|
||||
activeButton.editProperties({isActive: isActive});
|
||||
|
||||
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
|
||||
if (!isActive) {
|
||||
|
|
Loading…
Reference in a new issue