Updated font size for options.

Delete poll on script ending.
This commit is contained in:
armored-dragon 2024-09-04 15:57:01 -05:00
parent 05f276ca4d
commit a5883b1b2f
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -539,6 +539,7 @@ Rectangle {
text: option
anchors.centerIn: parent
color: "white"
font.pointSize: 14
}
}