Archived
1
Fork 0

Change Recompile button into menu item

This commit is contained in:
redstrate 2021-02-08 20:24:13 -05:00
parent e53206e906
commit bc5c400129

View file

@ -173,9 +173,8 @@ void MaterialEditor::draw(CommonEditor* editor) {
ImGui::EndMenu();
}
if(ImGui::Button("Recompile")) {
if(ImGui::MenuItem("Compile"))
recompile(*material);
}
ImGui::EndMenuBar();
}