mirror of
https://github.com/overte-org/community-apps.git
synced 2025-04-25 23:35:26 +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 () {
|
Script.scriptEnding.connect(function () {
|
||||||
console.log("Shutting Down");
|
console.log("Shutting Down");
|
||||||
tablet.removeButton(appButton);
|
tablet.removeButton(appButton);
|
||||||
|
deletePoll();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Overlay button toggle
|
// Overlay button toggle
|
||||||
|
@ -112,6 +113,9 @@
|
||||||
// Check to see if we are hosting the poll
|
// Check to see if we are hosting the poll
|
||||||
if (poll.host != myUuid) return; // We are not the host of this 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");
|
console.log("Closing active poll");
|
||||||
|
|
||||||
// Submit the termination message to all clients
|
// Submit the termination message to all clients
|
||||||
|
|
|
@ -539,6 +539,7 @@ Rectangle {
|
||||||
text: option
|
text: option
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
color: "white"
|
color: "white"
|
||||||
|
font.pointSize: 14
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue