summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx')
-rw-r--r--apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx b/apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx
index 11412c04..5fffbcec 100644
--- a/apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx
+++ b/apps/web/src/components/editor/panels/properties/tabs/text-tab.tsx
@@ -165,7 +165,7 @@ function TypographySection({
{
trackId,
elementId: element.id,
- updates: { fontFamily: value },
+ patch: { fontFamily: value },
},
],
})
@@ -188,7 +188,7 @@ function TypographySection({
{
trackId,
elementId: element.id,
- updates: {
+ patch: {
fontSize: DEFAULTS.text.element.fontSize,
},
},
@@ -291,7 +291,7 @@ function SpacingSection({
{
trackId,
elementId: element.id,
- updates: { letterSpacing: DEFAULTS.text.letterSpacing },
+ patch: { letterSpacing: DEFAULTS.text.letterSpacing },
},
],
})
@@ -317,7 +317,7 @@ function SpacingSection({
{
trackId,
elementId: element.id,
- updates: { lineHeight: DEFAULTS.text.lineHeight },
+ patch: { lineHeight: DEFAULTS.text.lineHeight },
},
],
})
@@ -512,7 +512,7 @@ function BackgroundSection({
{
trackId,
elementId: element.id,
- updates: {
+ patch: {
background: {
...element.background,
enabled,