mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge pull request #9591 from druiz17/master
fixed issue of tablets buliding up when flying fast
This commit is contained in:
commit
9dfaf3026b
3 changed files with 12 additions and 3 deletions
|
@ -54,7 +54,10 @@ FocusScope {
|
|||
onEntered: iconColorOverlay.color = "#1fc6a6";
|
||||
onExited: iconColorOverlay.color = "#ffffff";
|
||||
// navigate back to root level menu
|
||||
onClicked: buildMenu();
|
||||
onClicked: {
|
||||
buildMenu();
|
||||
tabletRoot.playButtonClickSound();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -79,10 +82,12 @@ FocusScope {
|
|||
onEntered: breadcrumbText.color = "#1fc6a6";
|
||||
onExited: breadcrumbText.color = "#34a2c7";
|
||||
// navigate back to parent level menu if there is one
|
||||
onClicked:
|
||||
onClicked: {
|
||||
if (breadcrumbText.text !== "Menu") {
|
||||
menuPopperUpper.closeLastMenu();
|
||||
}
|
||||
tabletRoot.playButtonClickSound();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,10 @@ FocusScope {
|
|||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: listView.currentIndex = index
|
||||
onClicked: root.selected(item)
|
||||
onClicked: {
|
||||
root.selected(item)
|
||||
tabletRoot.playButtonClickSound();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -335,6 +335,7 @@ WebTablet.prototype.cleanUpOldTablets = function() {
|
|||
this.cleanUpOldTabletsOnJoint(SENSOR_TO_ROOM_MATRIX);
|
||||
this.cleanUpOldTabletsOnJoint(CAMERA_MATRIX);
|
||||
this.cleanUpOldTabletsOnJoint(65529);
|
||||
this.cleanUpOldTabletsOnJoint(65534);
|
||||
};
|
||||
|
||||
WebTablet.prototype.unregister = function() {
|
||||
|
|
Loading…
Reference in a new issue