From da7398eb50069bb8a29fe08fb4f30dbc18eb532c Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 9 Oct 2023 00:50:48 +0200 Subject: src/service.vala: Change volume by 2% when scrolling over the indicator --- src/service.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service.vala b/src/service.vala index c437475..5fbc8e9 100644 --- a/src/service.vala +++ b/src/service.vala @@ -1,6 +1,6 @@ /* * Copyright 2013 Canonical Ltd. - * Copyright 2021-2022 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -213,7 +213,7 @@ public class IndicatorSound.Service: Object { private IndicatorSound.InfoNotification _info_notification = new IndicatorSound.InfoNotification(); private AccountsServiceAccess _accounts_service_access; - const double volume_step_percentage = 0.06; + const double volume_step_percentage = 0.02; private void activate_scroll_action (SimpleAction action, Variant? param) { int direction = param.get_int32(); // positive for up, negative for down -- cgit v1.2.3