Skip to content

Commit 889ed65

Browse files
committed
fix: reset display bug
1 parent 46ebf04 commit 889ed65

File tree

1 file changed

+1
-1
lines changed
  • src/plugins/global-settings/typography

1 file changed

+1
-1
lines changed

src/plugins/global-settings/typography/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ addFilter( 'stackable.global-settings.inspector', 'stackable/global-typography',
203203
const typographyStyle = typographySettings[ selector ]
204204
if ( ! isEditingFontPair && currentFontPair ) {
205205
const fontPairStyle = currentFontPair.typography[ selector ]
206-
if ( ! isEqual( fontPairStyle, typographyStyle ) ) {
206+
if ( ! isEqual( fontPairStyle, typographyStyle ) && ! Array.isArray( typographyStyle ) ) {
207207
return true
208208
}
209209
return false

0 commit comments

Comments
 (0)