fix: update opacity of bound text when opacity of container updated (#5142)
This commit is contained in:
parent
b30066ca19
commit
1ed1529f96
@ -485,10 +485,14 @@ export const actionChangeOpacity = register({
|
|||||||
trackEvent: false,
|
trackEvent: false,
|
||||||
perform: (elements, appState, value) => {
|
perform: (elements, appState, value) => {
|
||||||
return {
|
return {
|
||||||
elements: changeProperty(elements, appState, (el) =>
|
elements: changeProperty(
|
||||||
|
elements,
|
||||||
|
appState,
|
||||||
|
(el) =>
|
||||||
newElementWith(el, {
|
newElementWith(el, {
|
||||||
opacity: value,
|
opacity: value,
|
||||||
}),
|
}),
|
||||||
|
true,
|
||||||
),
|
),
|
||||||
appState: { ...appState, currentItemOpacity: value },
|
appState: { ...appState, currentItemOpacity: value },
|
||||||
commitToHistory: true,
|
commitToHistory: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user