diff --git a/tools/editor/src/materialeditor.cpp b/tools/editor/src/materialeditor.cpp index 7ceb0ec..64c9f84 100755 --- a/tools/editor/src/materialeditor.cpp +++ b/tools/editor/src/materialeditor.cpp @@ -173,10 +173,9 @@ void MaterialEditor::draw(CommonEditor* editor) { ImGui::EndMenu(); } - if(ImGui::Button("Recompile")) { + if(ImGui::MenuItem("Compile")) recompile(*material); - } - + ImGui::EndMenuBar(); }