Skip to content

Commit

Permalink
[fix] format
Browse files Browse the repository at this point in the history
  • Loading branch information
theludovyc committed Sep 8, 2024
1 parent be23667 commit 97cc4bb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Script/Gui/ConfirmDialog.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ void fragment() {
alpha_total = 1.0 - alpha_total;
}
COLOR.a = alpha_total;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void fragment() {
discard;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ void fragment() {
COLOR = vec4(0.0);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ void fragment() {
alpha_total = 1.0 - alpha_total;
}
COLOR.a = alpha_total;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ void fragment() {
which_axis = UV.y;
}
COLOR.a = (1.0 - step(size * wipe_direction, which_axis * wipe_direction));
}
}

0 comments on commit 97cc4bb

Please sign in to comment.