From d7d5a7f8f6c3faf7e1ea1a36df053769243b51ac Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 5 Feb 2025 08:09:48 +0300 Subject: tab indicator: Add hide-when-single-tab --- src/layout/tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/tests.rs') diff --git a/src/layout/tests.rs b/src/layout/tests.rs index 5c1749a3..dee23fc0 100644 --- a/src/layout/tests.rs +++ b/src/layout/tests.rs @@ -3242,12 +3242,14 @@ prop_compose! { prop_compose! { fn arbitrary_tab_indicator()( off in any::(), + hide_when_single_tab in any::(), width in arbitrary_spacing(), gap in arbitrary_spacing_neg(), length in (0f64..2f64), ) -> niri_config::TabIndicator { niri_config::TabIndicator { off, + hide_when_single_tab, width: FloatOrInt(width), gap: FloatOrInt(gap), length: TabIndicatorLength { total_proportion: Some(length) }, -- cgit