From 1ed1529f96eebbd744023463abebf5ee18292532 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Wed, 4 May 2022 14:29:05 +0530 Subject: [PATCH] fix: update opacity of bound text when opacity of container updated (#5142) --- src/actions/actionProperties.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsx index 49efbe45..ff407255 100644 --- a/src/actions/actionProperties.tsx +++ b/src/actions/actionProperties.tsx @@ -485,10 +485,14 @@ export const actionChangeOpacity = register({ trackEvent: false, perform: (elements, appState, value) => { return { - elements: changeProperty(elements, appState, (el) => - newElementWith(el, { - opacity: value, - }), + elements: changeProperty( + elements, + appState, + (el) => + newElementWith(el, { + opacity: value, + }), + true, ), appState: { ...appState, currentItemOpacity: value }, commitToHistory: true,