reference player sync state now in GUI

This commit is contained in:
tildearrow 2025-10-29 20:00:08 -05:00
parent cb220d41ec
commit a78c59e17e
3 changed files with 7 additions and 2 deletions

View file

@ -79,11 +79,12 @@ void FurnaceGUI::drawRefPlayer() {
}
ImGui::SameLine();
pushToggleColors(e->getFilePlayerSync());
pushToggleColors(filePlayerSync);
if (ImGui::Button(_("Sync"))) {
e->setFilePlayerSync(!e->getFilePlayerSync());
filePlayerSync=!filePlayerSync;
}
popToggleColors();
e->setFilePlayerSync(filePlayerSync);
float vol=fp->getVolume();
ImGui::SameLine();