feat: update stroke color of bounded text along with container (#4541)
This commit is contained in:
parent
5f476e09d4
commit
cec92c1d17
@ -112,13 +112,18 @@ export const actionChangeStrokeColor = register({
|
|||||||
perform: (elements, appState, value) => {
|
perform: (elements, appState, value) => {
|
||||||
return {
|
return {
|
||||||
...(value.currentItemStrokeColor && {
|
...(value.currentItemStrokeColor && {
|
||||||
elements: changeProperty(elements, appState, (el) => {
|
elements: changeProperty(
|
||||||
return hasStrokeColor(el.type)
|
elements,
|
||||||
? newElementWith(el, {
|
appState,
|
||||||
strokeColor: value.currentItemStrokeColor,
|
(el) => {
|
||||||
})
|
return hasStrokeColor(el.type)
|
||||||
: el;
|
? newElementWith(el, {
|
||||||
}),
|
strokeColor: value.currentItemStrokeColor,
|
||||||
|
})
|
||||||
|
: el;
|
||||||
|
},
|
||||||
|
true,
|
||||||
|
),
|
||||||
}),
|
}),
|
||||||
appState: {
|
appState: {
|
||||||
...appState,
|
...appState,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user