Fix missing release of ThumbWheel touch

This commit is contained in:
Oskar Haarklou Veileborg 2021-03-02 12:20:01 +01:00
parent a0687c8f18
commit f0de58e76e

View File

@ -120,7 +120,7 @@ void ThumbWheel::_handleEvent(hidpp20::ThumbWheel::ThumbwheelEvent event)
_last_touch = !_last_touch; _last_touch = !_last_touch;
auto action = _config.touchAction(); auto action = _config.touchAction();
if(action) { if(action) {
if(_last_proxy) if(_last_touch)
action->press(); action->press();
else else
action->release(); action->release();