Skip to content

Commit 41f9cc3

Browse files
committed
doc: deploy PR #771 preview
1 parent 5088496 commit 41f9cc3

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

docs/prPreview/771/components_navigation_ouds_navigation_bar_item/OudsNavigationBarItem/toNavigationDestination.html

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,25 +102,23 @@ <h2><span>Implementation</span></h2>
102102
const SizedBox(height: 2),
103103
&#47;&#47; Apply text scaling constraints (maxScaleFactor: 1.08 = 108%) to prevent item overflow at high zoom.
104104
&#47;&#47; This keeps the 26px icon at 28.08px at maximum zoom level, ensuring it fits within the navigation bar.
105-
OudsNavigationA11y.withA11yScaling(
106-
NavigationDestination(
107-
label: destinationLabel,
108-
icon: _buildBadgeIconNavigationDestination(
109-
context,
110-
icon,
111-
modifier,
112-
controlState,
113-
badge,
114-
isSelected: isSelected,
115-
),
116-
selectedIcon: _buildBadgeIconNavigationDestination(
117-
context,
118-
icon,
119-
modifier,
120-
controlState,
121-
badge,
122-
isSelected: isSelected,
123-
),
105+
NavigationDestination(
106+
label: destinationLabel,
107+
icon: _buildBadgeIconNavigationDestination(
108+
context,
109+
icon,
110+
modifier,
111+
controlState,
112+
badge,
113+
isSelected: isSelected,
114+
),
115+
selectedIcon: _buildBadgeIconNavigationDestination(
116+
context,
117+
icon,
118+
modifier,
119+
controlState,
120+
badge,
121+
isSelected: isSelected,
124122
),
125123
),
126124
],

0 commit comments

Comments
 (0)