Change Recompile button into menu item
This commit is contained in:
parent
e53206e906
commit
bc5c400129
1 changed files with 2 additions and 3 deletions
|
@ -173,10 +173,9 @@ void MaterialEditor::draw(CommonEditor* editor) {
|
|||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
if(ImGui::Button("Recompile")) {
|
||||
if(ImGui::MenuItem("Compile"))
|
||||
recompile(*material);
|
||||
}
|
||||
|
||||
|
||||
ImGui::EndMenuBar();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue