mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
Dual screen game clock now working
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user