Virtual whiteboard for sketching hand-drawn like diagrams
feat: update stroke color of bounded text along with container (#4541)
Aakansha Doshicec92c1d1762
diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsxindex 59200c80f2..4b3b633875 100644--- a/src/actions/actionProperties.tsx+++ b/src/actions/actionProperties.tsx@@ -112,13 +112,18 @@ export const actionChangeStrokeColor = register({perform: (elements, appState, value) => {return {...(value.currentItemStrokeColor && {- elements: changeProperty(elements, appState, (el) => {- return hasStrokeColor(el.type)- ? newElementWith(el, {- strokeColor: value.currentItemStrokeColor,- })- : el;- }),+ elements: changeProperty(+ elements,+ appState,+ (el) => {+ return hasStrokeColor(el.type)+ ? newElementWith(el, {+ strokeColor: value.currentItemStrokeColor,+ })+ : el;+ },+ true,+ ),}),appState: {...appState,