mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
parent
0debc73dc6
commit
562c666e3d
129 changed files with 718 additions and 718 deletions
|
|
@ -604,8 +604,8 @@ void GradientEditor::set_gradient(const Ref<Gradient> &p_gradient) {
|
|||
void GradientEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
reverse_button->set_icon(get_editor_theme_icon(SNAME("ReverseGradient")));
|
||||
snap_button->set_icon(get_editor_theme_icon(SNAME("SnapGrid")));
|
||||
reverse_button->set_button_icon(get_editor_theme_icon(SNAME("ReverseGradient")));
|
||||
snap_button->set_button_icon(get_editor_theme_icon(SNAME("SnapGrid")));
|
||||
} break;
|
||||
case NOTIFICATION_READY: {
|
||||
Ref<Gradient> gradient = gradient_editor_rect->get_gradient();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue