Ensure that Qt TAS piano roll recalculates line width for horizontal scroll bar when reset is called. This fixes incorrect horizontal scroll bar behavior when loading new projects that have a different controller count.

This commit is contained in:
mjbudd77 2022-01-10 06:31:20 -05:00
parent c890f6c1bb
commit d380fc7f50
1 changed files with 1 additions and 0 deletions

View File

@ -4139,6 +4139,7 @@ void QPianoRoll::reset(void)
numColumns = 2 + (NUM_JOYPAD_BUTTONS * num_joysticks);
calcFontData();
}
//----------------------------------------------------------------------------
void QPianoRoll::save(EMUFILE *os, bool really_save)