mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 13:32:33 +00:00
Fixed mouse cursor always visible, even on game clock where it is preferred to be invisible while idle
This commit is contained in:
@@ -9,12 +9,14 @@ GEM
|
||||
gosu_more_drawables (~> 0.3)
|
||||
excon (0.78.1)
|
||||
ffi (1.15.4)
|
||||
ffi (1.15.4-x64-mingw32)
|
||||
gosu (1.2.0)
|
||||
gosu_more_drawables (0.3.1)
|
||||
gosu_notifications (0.1.0)
|
||||
ocra (1.3.11)
|
||||
|
||||
PLATFORMS
|
||||
x64-mingw32
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
@@ -25,4 +27,4 @@ DEPENDENCIES
|
||||
ocra
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.19
|
||||
2.2.28
|
||||
|
||||
4
Rakefile
4
Rakefile
@@ -7,13 +7,13 @@ Releasy::Project.new do
|
||||
version TAC::VERSION
|
||||
|
||||
executable "timecrafters_configuration_tool.rb"
|
||||
files ["lib/**/*.*", "media/**/*.*", "data"]
|
||||
files ["lib/**/*.*", "media/**/*.*", "data/.gitkeep", "data/configs/.gitkeep"]
|
||||
exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this.
|
||||
verbose
|
||||
|
||||
add_build :windows_folder do
|
||||
icon "media/icon.ico"
|
||||
executable_type :console # Assuming you don't want it to run with a console window.
|
||||
executable_type :windows # Assuming you don't want it to run with a console window.
|
||||
add_package :exe # Windows self-extracting archive.
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,6 +2,8 @@ module TAC
|
||||
class States
|
||||
class Boot < CyberarmEngine::GuiState
|
||||
def setup
|
||||
window.show_cursor = true
|
||||
|
||||
stack width: 1.0, height: 1.0 do
|
||||
background [TAC::Palette::TIMECRAFTERS_PRIMARY, TAC::Palette::TIMECRAFTERS_SECONDARY, TAC::Palette::TIMECRAFTERS_TERTIARY, TAC::Palette::TIMECRAFTERS_PRIMARY]
|
||||
end
|
||||
|
||||
@@ -3,6 +3,8 @@ class Editor < CyberarmEngine::GuiState
|
||||
attr_reader :header_bar, :header_bar_label, :navigation, :content, :menu_bar, :status_bar, :body
|
||||
|
||||
def setup
|
||||
window.show_cursor = true
|
||||
|
||||
@window_width = 0
|
||||
@window_height = 0
|
||||
|
||||
|
||||
@@ -29,10 +29,6 @@ module TAC
|
||||
@notification_manager.update
|
||||
end
|
||||
|
||||
def needs_cursor?
|
||||
true
|
||||
end
|
||||
|
||||
def toast(title, message = nil)
|
||||
@notification_manager.create_notification(
|
||||
priority: GosuNotifications::Notification::PRIORITY_HIGH,
|
||||
|
||||
Reference in New Issue
Block a user