Skip to content

Commit 5cfffab

Browse files
committed
fix: no active bg for color button
1 parent 39b561e commit 5cfffab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/editor/components/toolbar/selection-toolbar/actions/Color.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function Color() {
155155

156156
return (
157157
<>
158-
<ActionButton onClick={onClick} active={isActivated} tooltip={t('editor.color')}>
158+
<ActionButton onClick={onClick} tooltip={t('editor.color')}>
159159
<span ref={wrapperRef}>
160160
<ColorSvg className="h-5 w-5" />
161161
</span>

src/components/editor/components/toolbar/selection-toolbar/actions/ColorHighlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function ColorHighlight() {
157157

158158
return (
159159
<>
160-
<ActionButton onClick={onClick} active={isActivated} tooltip={t('editor.backgroundColor')}>
160+
<ActionButton onClick={onClick} tooltip={t('editor.backgroundColor')}>
161161
<span ref={wrapperRef}>
162162
<HighlightSvg className="h-5 w-5" />
163163
</span>

0 commit comments

Comments
 (0)