mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
fix incorrect volume slider width
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ impl SoundpadGui {
|
|||||||
let position_slider_width = ui.available_width()
|
let position_slider_width = ui.available_width()
|
||||||
- (30.0 * 3.0)
|
- (30.0 * 3.0)
|
||||||
- default_slider_width
|
- default_slider_width
|
||||||
- (ui.spacing().item_spacing.x * 5.0);
|
- (ui.spacing().item_spacing.x * 6.0);
|
||||||
ui.spacing_mut().slider_width = position_slider_width;
|
ui.spacing_mut().slider_width = position_slider_width;
|
||||||
let position_slider_response = ui.add_sized([30.0, 30.0], position_slider);
|
let position_slider_response = ui.add_sized([30.0, 30.0], position_slider);
|
||||||
if position_slider_response.drag_stopped() {
|
if position_slider_response.drag_stopped() {
|
||||||
|
|||||||
Reference in New Issue
Block a user