1
0
mirror of synced 2025-02-02 20:37:25 +01:00

Allow for debug menu to be closed

This commit is contained in:
Stepland 2020-02-08 16:10:06 +01:00
parent f0dae75cf3
commit 64cb5743e4

View File

@ -310,7 +310,7 @@ void MusicSelect::Ribbon::draw_without_animation(sf::RenderTarget &target, sf::R
void MusicSelect::Ribbon::draw_debug() {
if (debug) {
ImGui::Begin("Ribbon Debug"); {
ImGui::Begin("Ribbon Debug", &debug); {
ImGui::SliderFloat("Time Slowdown Factor", &m_time_factor, 1.f, 10.f);
}
ImGui::End();