Merge pull request #3047 from eska014/fix-play-project-button
Fix "Play Project" button icon
This commit is contained in:
commit
8c005e2b73
@ -1816,7 +1816,7 @@ void EditorNode::_run(bool p_current,const String& p_custom) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
play_button->set_pressed(false);
|
play_button->set_pressed(false);
|
||||||
play_button->set_icon(gui_base->get_icon("Play","EditorIcons"));
|
play_button->set_icon(gui_base->get_icon("MainPlay","EditorIcons"));
|
||||||
//pause_button->set_pressed(false);
|
//pause_button->set_pressed(false);
|
||||||
play_scene_button->set_pressed(false);
|
play_scene_button->set_pressed(false);
|
||||||
play_scene_button->set_icon(gui_base->get_icon("PlayScene","EditorIcons"));
|
play_scene_button->set_icon(gui_base->get_icon("PlayScene","EditorIcons"));
|
||||||
@ -2688,7 +2688,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
|
|||||||
|
|
||||||
editor_run.stop();
|
editor_run.stop();
|
||||||
play_button->set_pressed(false);
|
play_button->set_pressed(false);
|
||||||
play_button->set_icon(gui_base->get_icon("Play","EditorIcons"));
|
play_button->set_icon(gui_base->get_icon("MainPlay","EditorIcons"));
|
||||||
play_scene_button->set_pressed(false);
|
play_scene_button->set_pressed(false);
|
||||||
play_scene_button->set_icon(gui_base->get_icon("PlayScene","EditorIcons"));
|
play_scene_button->set_icon(gui_base->get_icon("PlayScene","EditorIcons"));
|
||||||
//pause_button->set_pressed(false);
|
//pause_button->set_pressed(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user