From 97cc4bbe800e2f378fc2fbbd94cf09a45ab02d4a Mon Sep 17 00:00:00 2001 From: theludovyc Date: Sun, 8 Sep 2024 20:49:19 +0200 Subject: [PATCH] [fix] format --- Script/Gui/ConfirmDialog.gd | 5 ----- .../Autoloads/Transitions/Shaders/Circle_mask.gdshader | 2 +- .../Autoloads/Transitions/Shaders/Diamond.gdshader | 2 +- .../Autoloads/Transitions/Shaders/Line.gdshader | 2 +- .../Autoloads/Transitions/Shaders/Square_mask.gdshader | 2 +- .../Autoloads/Transitions/Shaders/Swipe_Mask.gdshader | 2 +- 6 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Script/Gui/ConfirmDialog.gd b/Script/Gui/ConfirmDialog.gd index 9e4d9b3c..734036f9 100644 --- a/Script/Gui/ConfirmDialog.gd +++ b/Script/Gui/ConfirmDialog.gd @@ -7,14 +7,9 @@ func _ready(): func popup_confirm(confirm_text:String, on_ok_pressed:Callable): dialog_text = confirm_text - var button_pressed_signal:Signal = get_ok_button().pressed - if current_callable.is_valid() and current_callable != on_ok_pressed: button_pressed_signal.disconnect(current_callable) - button_pressed_signal.connect(on_ok_pressed) - current_callable = on_ok_pressed - popup_centered_clamped() diff --git a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Circle_mask.gdshader b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Circle_mask.gdshader index b7ae7702..59dd074a 100644 --- a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Circle_mask.gdshader +++ b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Circle_mask.gdshader @@ -14,4 +14,4 @@ void fragment() { alpha_total = 1.0 - alpha_total; } COLOR.a = alpha_total; -} \ No newline at end of file +} diff --git a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Diamond.gdshader b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Diamond.gdshader index 4a7f65b9..f4dd920f 100644 --- a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Diamond.gdshader +++ b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Diamond.gdshader @@ -21,4 +21,4 @@ void fragment() { discard; } -} \ No newline at end of file +} diff --git a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Line.gdshader b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Line.gdshader index c0202eb0..da9e255c 100644 --- a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Line.gdshader +++ b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Line.gdshader @@ -20,4 +20,4 @@ void fragment() { COLOR = vec4(0.0); } } -} \ No newline at end of file +} diff --git a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Square_mask.gdshader b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Square_mask.gdshader index da28f38e..8c3e086c 100644 --- a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Square_mask.gdshader +++ b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Square_mask.gdshader @@ -17,4 +17,4 @@ void fragment() { alpha_total = 1.0 - alpha_total; } COLOR.a = alpha_total; -} \ No newline at end of file +} diff --git a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Swipe_Mask.gdshader b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Swipe_Mask.gdshader index 11c09860..6e2ae50b 100644 --- a/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Swipe_Mask.gdshader +++ b/addons/rakugo_game_template/Autoloads/Transitions/Shaders/Swipe_Mask.gdshader @@ -10,4 +10,4 @@ void fragment() { which_axis = UV.y; } COLOR.a = (1.0 - step(size * wipe_direction, which_axis * wipe_direction)); -} \ No newline at end of file +}