From b51e46a7100e0ff7de6d9d2a1d4e89ac25f564e7 Mon Sep 17 00:00:00 2001 From: Ashnidh <44440524+ashnidh@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:30:16 +0530 Subject: [PATCH] Added tooltip for expand/collapse samplers button.\n Resolves #12998 --- res/skins/Deere/sampler_row.xml | 1 + res/skins/LateNight/samplers/sampler_expand_button.xml | 2 +- res/skins/Shade/samplerrow.xml | 4 ++-- res/skins/Tango/mic_aux_sampler/sampler_row.xml | 1 + src/skin/legacy/tooltips.cpp | 4 ++++ 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/res/skins/Deere/sampler_row.xml b/res/skins/Deere/sampler_row.xml index 7fa3f36c71f..020d8ef1458 100644 --- a/res/skins/Deere/sampler_row.xml +++ b/res/skins/Deere/sampler_row.xml @@ -45,6 +45,7 @@ diff --git a/res/skins/LateNight/samplers/sampler_expand_button.xml b/res/skins/LateNight/samplers/sampler_expand_button.xml index 41bb90fd38f..f9ba47abbcf 100644 --- a/res/skins/LateNight/samplers/sampler_expand_button.xml +++ b/res/skins/LateNight/samplers/sampler_expand_button.xml @@ -9,7 +9,7 @@ stacked - show_samplers + expand_samplers SamplerExpandOverlay 16f,36me 2 diff --git a/res/skins/Shade/samplerrow.xml b/res/skins/Shade/samplerrow.xml index bc4db361a22..335280539c9 100644 --- a/res/skins/Shade/samplerrow.xml +++ b/res/skins/Shade/samplerrow.xml @@ -31,7 +31,7 @@ horizontal - show_samplers + expand_samplers 2 0 @@ -158,7 +158,7 @@ style/style_bg_sampler_right.png - show_samplers + expand_samplers 2 0 diff --git a/res/skins/Tango/mic_aux_sampler/sampler_row.xml b/res/skins/Tango/mic_aux_sampler/sampler_row.xml index cde6f91a68f..730fff1f119 100644 --- a/res/skins/Tango/mic_aux_sampler/sampler_row.xml +++ b/res/skins/Tango/mic_aux_sampler/sampler_row.xml @@ -47,6 +47,7 @@ Variables: 1min,3f diff --git a/src/skin/legacy/tooltips.cpp b/src/skin/legacy/tooltips.cpp index b0ad99e08fa..3ab8fe371ed 100644 --- a/src/skin/legacy/tooltips.cpp +++ b/src/skin/legacy/tooltips.cpp @@ -664,6 +664,10 @@ void Tooltips::addStandardTooltips() { << tr("Record Mix") << tr("Toggle mix recording."); + add("expand_samplers") + << tr("Expand/Collapse Samplers") + << tr("Toggle expanded samplers view."); + // Status displays and toggle buttons add("recording_duration") << tr("Recording Duration")