mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:02:57 +02:00
fix run script
This commit is contained in:
parent
e0bbf9ee41
commit
6626f55652
1 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
(function() { // BEGIN LOCAL_SCOPE
|
(function() { // BEGIN LOCAL_SCOPE
|
||||||
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||||
var button = tablet.addButton({
|
var button = tablet.addButton({
|
||||||
icon: Script.resolvePath("run.svg"),
|
icon: Script.resolvePath("assets/images/icon-particles.svg"),
|
||||||
text: "Run",
|
text: "Run",
|
||||||
sortOrder: 15
|
sortOrder: 15
|
||||||
});
|
});
|
||||||
|
@ -23,6 +23,5 @@
|
||||||
tablet.removeButton(button);
|
tablet.removeButton(button);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
button.clicked.connect(onClicked);
|
button.clicked.connect(onClicked);
|
||||||
})
|
}());
|
||||||
|
|
Loading…
Reference in a new issue