Skip to content

Commit

Permalink
fix(enhanced-readabilities): do not add animation when specified on m…
Browse files Browse the repository at this point in the history
…ounted

Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Oct 11, 2024
1 parent 79bf831 commit 16cb9c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ watch(mounted, (val) => {
if (!val)
return
setClasses(layoutMode.value, false)
setClasses(layoutMode.value, !options.layoutSwitch?.disableAnimation)
if (!supportedLayoutModes.includes(layoutMode.value))
layoutMode.value = options.layoutSwitch?.defaultMode || LayoutMode.BothWidthAdjustable
})
Expand Down

0 comments on commit 16cb9c2

Please sign in to comment.