format
This commit is contained in:
+5
-6
@@ -334,9 +334,7 @@ class _TabBarStackingModeSection extends HookConsumerWidget {
|
||||
children: [
|
||||
const ListTile(
|
||||
title: Text('Tab Stacking'),
|
||||
subtitle: Text(
|
||||
'How the quick tab switcher bar arranges its tabs',
|
||||
),
|
||||
subtitle: Text('How the quick tab switcher bar arranges its tabs'),
|
||||
leading: Icon(MdiIcons.folderSettings),
|
||||
contentPadding: EdgeInsets.zero,
|
||||
),
|
||||
@@ -505,8 +503,7 @@ class _QuickTabSwitcherTitleWidthTile extends HookConsumerWidget {
|
||||
onChangeEnd: enabled
|
||||
? (value) async {
|
||||
final normalized =
|
||||
(value / quickTabSwitcherTitleWidthStep)
|
||||
.round() *
|
||||
(value / quickTabSwitcherTitleWidthStep).round() *
|
||||
quickTabSwitcherTitleWidthStep;
|
||||
sliderValue.value = normalized;
|
||||
await ref
|
||||
@@ -683,7 +680,9 @@ class _QuickTabSwitcherHierarchyGlyphsTile extends HookConsumerWidget {
|
||||
)
|
||||
.save(
|
||||
(currentSettings) => currentSettings.copyWith
|
||||
.quickTabSwitcherHierarchyGlyphs(normalized),
|
||||
.quickTabSwitcherHierarchyGlyphs(
|
||||
normalized,
|
||||
),
|
||||
);
|
||||
}
|
||||
: null,
|
||||
|
||||
@@ -64,8 +64,7 @@ class TabBarPreviewHeaderDelegate extends SliverPersistentHeaderDelegate {
|
||||
_ => 1,
|
||||
};
|
||||
|
||||
return height +
|
||||
BrowserTabBar.quickTabSwitcherHeight * quickTabSwitcherRows;
|
||||
return height + BrowserTabBar.quickTabSwitcherHeight * quickTabSwitcherRows;
|
||||
}
|
||||
|
||||
double get _baseHeight =>
|
||||
|
||||
Reference in New Issue
Block a user