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 6226258c25efb0aaf64aa1f90c6657e8d24e539f
parent f92fd0ec53c67499c2f4d0ee50b689cdd159bfbb
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 19 Mar 2022 16:29:18 +0100

fix part pan & volume displaying wrong parameter name when hovering

Diffstat:
Msource/jucePlugin/ui3/Parts.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/source/jucePlugin/ui3/Parts.cpp b/source/jucePlugin/ui3/Parts.cpp @@ -31,6 +31,9 @@ namespace genericVirusUI _editor.getParameterBinding().bind(*m_partVolume[i], Virus::Param_PartVolume, static_cast<uint8_t>(i)); _editor.getParameterBinding().bind(*m_partPan[i], Virus::Param_Panorama, static_cast<uint8_t>(i)); + + m_partVolume[i]->getProperties().set("parameter", (int)Virus::Param_PartVolume); + m_partPan[i]->getProperties().set("parameter", (int)Virus::Param_Panorama); } updateAll();