Skip to content

Commit 7cf7ed7

Browse files
committed
volume: Fix hesitating motion in popover on scroll wheel events
Scrolling on the volume widget changes the volume but it was hesitating in certain cases after a few events one direction and then dialing back. Fix this by queueing redraw frames while the animation is running.
1 parent f49f719 commit 7cf7ed7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/panel/widgets/volume.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ WayfireVolumeScale::WayfireVolumeScale()
1414
value_changed.block();
1515
this->set_value(this->current_volume);
1616
value_changed.unblock();
17+
this->queue_draw();
1718
}
1819
}, true);
1920

0 commit comments

Comments
 (0)