Updated practice clock to use a zero exclusive display (matches offical clock better), tweaked sound timings a bit to match, disabled color changing on clock to match offical clock, misc. tweaks.

This commit is contained in:
2023-11-17 17:09:44 -06:00
parent 08bbd2c638
commit a8ebaebe4c
8 changed files with 21 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ module TAC
self.caption = "#{TAC::NAME} v#{TAC::VERSION} (#{TAC::RELEASE_NAME})"
@backend = Backend.new
@notification_manager = GosuNotifications::NotificationManager.new(window: self, edge: :bottom)
@notification_manager = CyberarmEngine::NotificationManager.new(window: self, edge: :bottom)
if ARGV.join.include?("--game-clock-remote-display")
push_state(PracticeGameClock::View, remote_control_mode: true)
@@ -26,9 +26,9 @@ module TAC
end
def update
super
@notification_manager.update
super
end
def needs_redraw?
@@ -37,7 +37,7 @@ module TAC
def toast(title, message = nil)
@notification_manager.create_notification(
priority: GosuNotifications::Notification::PRIORITY_HIGH,
priority: CyberarmEngine::Notification::PRIORITY_HIGH,
title: title,
tagline: message ? message : "",