mirror of
https://github.com/AleziaKurdis/Overte-community-apps.git
synced 2025-04-05 13:37:41 +02:00
Updated font size for options.
Delete poll on script ending.
This commit is contained in:
parent
05f276ca4d
commit
a5883b1b2f
2 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
Script.scriptEnding.connect(function () {
|
||||
console.log("Shutting Down");
|
||||
tablet.removeButton(appButton);
|
||||
deletePoll();
|
||||
});
|
||||
|
||||
// Overlay button toggle
|
||||
|
@ -112,6 +113,9 @@
|
|||
// Check to see if we are hosting the poll
|
||||
if (poll.host != myUuid) return; // We are not the host of this poll
|
||||
|
||||
// We are in a poll
|
||||
if (poll.id == '') return;
|
||||
|
||||
console.log("Closing active poll");
|
||||
|
||||
// Submit the termination message to all clients
|
||||
|
|
|
@ -539,6 +539,7 @@ Rectangle {
|
|||
text: option
|
||||
anchors.centerIn: parent
|
||||
color: "white"
|
||||
font.pointSize: 14
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue