Skip to content

Commit

Permalink
fix(engine): move ImGui::End call to outside of if body
Browse files Browse the repository at this point in the history
  • Loading branch information
SrGesus committed Oct 22, 2024
1 parent 86781d5 commit 2ed239f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engine/src/tools/play_pause/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ void cubos::engine::playPauseToolPlugin(Cubos& cubos)
{
state.scale = 1.0F;
}

ImGui::End();
}
ImGui::End();

Check warning on line 58 in engine/src/tools/play_pause/plugin.cpp

View check run for this annotation

Codecov / codecov/patch

engine/src/tools/play_pause/plugin.cpp#L58

Added line #L58 was not covered by tests

if (!state.paused)
{
Expand Down

0 comments on commit 2ed239f

Please sign in to comment.