Dual screen game clock now working

This commit is contained in:
2021-09-29 13:41:44 -05:00
parent 44523b0bf2
commit 2948b02f12
8 changed files with 36 additions and 58 deletions

View File

@@ -116,10 +116,9 @@ module TAC
RemoteControl.connection.puts(ClockNet::PacketHandler.packet_abort_clock)
end
button "Shutdown", width: 1.0, **DANGEROUS_BUTTON do
button "Shutdown", width: 1.0, **TAC::THEME_DANGER_BUTTON do
RemoteControl.connection.puts(ClockNet::PacketHandler.packet_shutdown)
sleep 1 # let packet escape before closing
exit
end
end
@@ -222,7 +221,7 @@ module TAC
@randomizer_label = title "Not Visible"
end
button "Randomizer", width: 1.0, **DANGEROUS_BUTTON do
button "Randomizer", width: 1.0, **TAC::THEME_DANGER_BUTTON do
@randomizer_visible = !@randomizer_visible
RemoteControl.connection.puts(ClockNet::PacketHandler.packet_randomizer_visible(@randomizer_visible))