Skip to content

Commit

Permalink
Updated LFO envelope trigger lane behavior (surge-synthesizer#1472)
Browse files Browse the repository at this point in the history
* Fix the shift without mouse down behavior on buttons

* Added back missing transparency to some vertical sliders (i.e. Mixer and EGs)

* Updated LFO trigger lane behavior
  • Loading branch information
VincyZed authored and baconpaul committed Jan 11, 2020
1 parent 2eba658 commit ec69797
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/common/gui/CLFOGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ CMouseEventResult CLFOGui::onMouseUp(CPoint& where, const CButtonState& buttons)

if( ( buttons & kShift ) | ( buttons & kRButton ) )
{
if( bothOn )
if( bothOn || ( !(filtOn || ampOn) ) )
{
on = UINT64_C(1) << ( 16 + i );
}
Expand All @@ -947,10 +947,6 @@ CMouseEventResult CLFOGui::onMouseUp(CPoint& where, const CButtonState& buttons)
on = UINT64_C(1) << ( 32 + i );
}
else if( ampOn )
{
on = 0;
}
else
{
on = UINT64_C(1) << i;
}
Expand Down

0 comments on commit ec69797

Please sign in to comment.