mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 06:54:43 -04:00
Changed split screen button icon
This commit is contained in:
parent
bc1d16c14c
commit
a2fdf7c4a5
7 changed files with 81 additions and 12 deletions
|
@ -26,7 +26,7 @@ var canvas_parent : Node
|
|||
var main_viewport : ViewportContainer
|
||||
var second_viewport : ViewportContainer
|
||||
var viewport_separator : VSeparator
|
||||
var split_screen_button : Button
|
||||
var split_screen_button : BaseButton
|
||||
# warning-ignore:unused_class_variable
|
||||
var left_square_indicator_visible := true
|
||||
# warning-ignore:unused_class_variable
|
||||
|
|
|
@ -827,11 +827,9 @@ func _on_BlueRedMode_toggled(button_pressed) -> void:
|
|||
|
||||
func _on_SplitScreenButton_toggled(button_pressed) -> void:
|
||||
if button_pressed:
|
||||
Global.split_screen_button.text = ">"
|
||||
Global.viewport_separator.visible = true
|
||||
Global.second_viewport.visible = true
|
||||
else:
|
||||
Global.split_screen_button.text = "<"
|
||||
Global.viewport_separator.visible = false
|
||||
Global.second_viewport.visible = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue