Skip to content

Commit

Permalink
fix: tab preview: reset internal state on turn on/off the setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Dec 12, 2024
1 parent 5165534 commit 5c6c794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/settings.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function updateSettingsFg(settings?: SettingsState | null): void {
Tabs.list.forEach(t => Tabs.updateTooltip(t.id))
}

if (previewTabsMode) {
if (previewTabs || previewTabsMode) {
Preview.resetMode()
}

Expand Down

0 comments on commit 5c6c794

Please sign in to comment.