mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 13:32:33 +00:00
changes
This commit is contained in:
@@ -36,7 +36,11 @@ class NewEditor < CyberarmEngine::GuiState
|
||||
|
||||
@window_controls = flow(x: window.width - 36 * 2, y: 0, height: 1.0) do
|
||||
button get_image("#{TAC::ROOT_PATH}/media/icons/minus.png"), tip: "Minimize", image_height: 1.0 do
|
||||
# window.minimize
|
||||
window.minimize if window.respond_to?(:minimize)
|
||||
end
|
||||
|
||||
button get_image("#{TAC::ROOT_PATH}/media/icons/larger.png"), tip: "Maximize", image_height: 1.0 do |btn|
|
||||
window.maximize
|
||||
end
|
||||
|
||||
button get_image("#{TAC::ROOT_PATH}/media/icons/cross.png"), tip: "Exit", image_height: 1.0, **TAC::THEME_DANGER_BUTTON do
|
||||
|
||||
@@ -26,7 +26,7 @@ module TAC
|
||||
return 7
|
||||
end
|
||||
|
||||
return 1 if y <= 36 && x <= width - 74
|
||||
return 1 if y <= 36 && x <= width - (36 * 3 + 4 * 6)
|
||||
|
||||
0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user