GUI: reduce pattern/orders latency
no more oldOrder/oldRow hacks!
This commit is contained in:
parent
5ca710860b
commit
083f870930
8 changed files with 43 additions and 60 deletions
|
|
@ -29,13 +29,13 @@ void FurnaceGUI::drawClock() {
|
|||
}
|
||||
if (!clockOpen) return;
|
||||
if (ImGui::Begin("Clock",&clockOpen,globalWinFlags)) {
|
||||
int row=e->getRow();
|
||||
int row=oldRow;
|
||||
int elapsedBars=e->getElapsedBars();
|
||||
int elapsedBeats=e->getElapsedBeats();
|
||||
bool playing=e->isPlaying();
|
||||
if (clockShowRow) {
|
||||
ImGui::PushFont(bigFont);
|
||||
ImGui::Text("%.3d:%.3d",e->getOrder(),row);
|
||||
ImGui::Text("%.3d:%.3d",playOrder,row);
|
||||
ImGui::PopFont();
|
||||
}
|
||||
if (clockShowBeat) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue