Bar now properly hides if all sections are empty. (#467)

This commit is contained in:
Jas Singh
2024-11-09 13:09:48 -08:00
committed by GitHub
parent c150bc189d
commit 6120777b19
3 changed files with 21 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ import { KbLabelType } from 'lib/types/customModules/kbLayout';
import {
ActiveWsIndicator,
BarButtonStyles,
BarLayout,
BarLocation,
BluetoothBatteryState,
BorderLocation,
@@ -853,7 +854,7 @@ const options = mkOptions(OPTIONS, {
bar: {
scrollSpeed: opt(5),
layouts: opt({
layouts: opt<BarLayout>({
'1': {
left: ['dashboard', 'workspaces', 'windowtitle'],
middle: ['media'],