mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
make hud button participate in buttonState just like other toolbar
chicklets
This commit is contained in:
parent
71c44f4f93
commit
1ad9cfde99
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ OriginalDesktop.Desktop {
|
|||
pinned: true,
|
||||
});
|
||||
|
||||
toggleHudButton.yOffset = Qt.binding(function(){
|
||||
return desktop.pinned ? 50 : 0
|
||||
toggleHudButton.buttonState = Qt.binding(function(){
|
||||
return desktop.pinned ? 1 : 0
|
||||
});
|
||||
toggleHudButton.clicked.connect(function(){
|
||||
console.log("Clicked on hud button")
|
||||
|
|
Loading…
Reference in a new issue