gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit ed4d96390ad00b47eacd109e464c6aef99720524
parent 3ab910ab3703909c4ff2bfde4f66deccee02d465
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 14 Jul 2024 12:36:30 +0200

implement auto scroll to specified row

Diffstat:
Msource/jucePluginEditorLib/patchmanager/grid.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source/jucePluginEditorLib/patchmanager/grid.cpp b/source/jucePluginEditorLib/patchmanager/grid.cpp @@ -172,7 +172,8 @@ namespace jucePluginEditorLib::patchManager void Grid::ensureVisible(int _row) { - // TODO + const auto pos = getEntryPosition(_row, true); + m_viewport.autoScroll(pos.getCentreX(), pos.getCentreY(), getWidth()>>1, 1000); } int Grid::getSelectedEntry() const