Skip to content

Commit

Permalink
Organize in a better way the scene *play/pause/stop* actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Sep 23, 2024
1 parent 6c8bb76 commit 11c4d00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Renderer/EditorLayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ namespace volt::renderer {
if (ImGui::Button("Pause")) {
s.Pause();
}
ImGui::SameLine();
if (ImGui::Button("Stop")) {
s.Stop();
}
}
else if (ImGui::Button("Play")) {
s.Play();
}
ImGui::SameLine();
if (ImGui::Button("Stop")) {
s.Stop();
}
}
ImGui::End();
}
Expand Down

0 comments on commit 11c4d00

Please sign in to comment.