1 parent 168c0a0 commit ea33929Copy full SHA for ea33929
1 file changed
reaper_csurf_integrator/control_surface_Reaper_actions.h
@@ -3360,9 +3360,17 @@ class TrackToggleFolderSpill : public Action
3360
{
3361
context->UpdateColorValue(0.0);
3362
if (MediaTrack *track = context->GetTrack())
3363
- context->UpdateWidgetValue(context->GetPage()->GetIsFolderSpilled(track));
+ {
3364
+ double isSpilled = context->GetPage()->GetIsFolderSpilled(track);
3365
+
3366
+ context->UpdateWidgetValue(isSpilled);
3367
3368
+ context->GetCSI()->Speak(isSpilled ? "Expanded" : "Collapsed");
3369
+ }
3370
else
3371
3372
context->UpdateWidgetValue(0.0);
3373
3374
}
3375
3376
virtual void Do(ActionContext *context, double value) override
0 commit comments