mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-03-20 22:20:07 +08:00
fix(ui): increase app icon collapse threshold from 3 to 4
Improve readability by keeping app names visible when 3 apps are shown. Icons now only collapse to compact mode when 4 or more apps are visible.
This commit is contained in:
@@ -895,7 +895,7 @@ function App() {
|
||||
visibleApps={visibleApps}
|
||||
compact={
|
||||
isCurrentAppTakeoverActive &&
|
||||
Object.values(visibleApps).filter(Boolean).length >= 3
|
||||
Object.values(visibleApps).filter(Boolean).length >= 4
|
||||
}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user