From 326ba66da0a7ab89a5fecfcda570d040c641242a Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Tue, 1 Sep 2020 17:46:47 +0200 Subject: [PATCH] Spread volume icon changes evenly --- clapper_src/controls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clapper_src/controls.js b/clapper_src/controls.js index 7891adb0..e60c773e 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -84,9 +84,9 @@ class ClapperControls extends Gtk.HBox if(value <= 0) return; - let iconName = (value <= 0.25) + let iconName = (value <= 0.33) ? 'audio-volume-low-symbolic' - : (value <= 0.75) + : (value <= 0.66) ? 'audio-volume-medium-symbolic' : (value <= 1) ? 'audio-volume-high-symbolic'