From a2fdf7c4a59b5e52722fa387f8eb41f0d692c471 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 2 Dec 2019 02:04:46 +0200 Subject: [PATCH] Changed split screen button icon --- Assets/Graphics/Canvas_split.png | Bin 0 -> 648 bytes Assets/Graphics/Canvas_split.png.import | 34 ++++++++++++++++++++++ Assets/Graphics/Canvas_unsplit.png | Bin 0 -> 650 bytes Assets/Graphics/Canvas_unsplit.png.import | 34 ++++++++++++++++++++++ Main.tscn | 21 +++++++------ Scripts/Global.gd | 2 +- Scripts/Main.gd | 2 -- 7 files changed, 81 insertions(+), 12 deletions(-) create mode 100644 Assets/Graphics/Canvas_split.png create mode 100644 Assets/Graphics/Canvas_split.png.import create mode 100644 Assets/Graphics/Canvas_unsplit.png create mode 100644 Assets/Graphics/Canvas_unsplit.png.import diff --git a/Assets/Graphics/Canvas_split.png b/Assets/Graphics/Canvas_split.png new file mode 100644 index 0000000000000000000000000000000000000000..ad4e99f9400cb4288f03bd10dfb65e222ef35222 GIT binary patch literal 648 zcmV;30(bq1P)EX>4Tx04R}tkv&MmKpe$iQ>CI6hju8UkfFM0K~%(1s#pXIrLEAagUO{|(4-+r zad8w}3l4rPRvlcNb#-tR1i=pw7gr}m7b)?7X`w}o2gm(*ckglc4iM^PrkY(7fT~$W zG8Ppx*;Uc^iarb@fDpzcX6o_OVj8aF>mDAy-bHwp`?)_yzmhW<;1P-Em~L3a8^kl4 zmd<&fILL~ULVQjUyKw?|pMfi_?XT2<*-z4I zZ7qBR3~U1z*KJMS11@)f(3371k|TL(3i&+nen#Jv1p>D~?^?6B);>-jfHZZrd;=UD z0;2`WUUzwSPiJrco@w>>1H!R##~@DgSpWb424YJ`L;!>UgaCxG%vneP000SaNLh0L z01m?d01m?e$8V@)00007bV*G`2jdGJ6eS4*ryei>000?uMObu0Z*6U5Zgc=ca%Ew3 zWn>_CX>@2HM@dakSAh-}0001ANklEX>4Tx04R}tkv&MmKpe$iQ>CI6hju8UkfFM0K~%(1s#pXIrLEAagUO{|(4-+r zad8w}3l4rPRvlcNb#-tR1i=pw7gr}m7b)?7X`w}o2gm(*ckglc4iM^PrkY(7fT~$W zG8Ppx*;Uc^iarb@fDpzcX6o_OVj8aF>mDAy-bHwp`?)_yzmhW<;1P-Em~L3a8^kl4 zmd<&fILL~ULVQjUyKw?|pMfi_?XT2<*-z4I zZ7qBR3~U1z*KJMS11@)f(3371k|TL(3i&+nen#Jv1p>D~?^?6B);>-jfHZZrd;=UD z0;2`WUUzwSPiJrco@w>>1H!R##~@DgSpWb424YJ`L;!>UgaCxG%vneP000SaNLh0L z01m?d01m?e$8V@)00007bV*G`2jdGJ6eI|3yC3HO000?uMObu0Z*6U5Zgc=ca%Ew3 zWn>_CX>@2HM@dakSAh-}0001CNkl 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