From 429a77a87c530156a974938b71875fb413234121 Mon Sep 17 00:00:00 2001 From: Isaac Daly Date: Sun, 3 Nov 2024 15:25:29 +1100 Subject: [PATCH] Formatting --- src/Whim.Gaps/GapsLayoutEngine.cs | 14 +++++++------- src/Whim/Template/whim.config.csx | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Whim.Gaps/GapsLayoutEngine.cs b/src/Whim.Gaps/GapsLayoutEngine.cs index 792e16680..837655601 100644 --- a/src/Whim.Gaps/GapsLayoutEngine.cs +++ b/src/Whim.Gaps/GapsLayoutEngine.cs @@ -45,13 +45,13 @@ public override IEnumerable DoLayout(IRectangle rectangle, IM { // If the inner layout engine is a floating layout engine, then we don't apply gaps. if (InnerLayoutEngine.GetLayoutEngine() is not null) - { - foreach (IWindowState windowState in InnerLayoutEngine.DoLayout(rectangle, monitor)) - { - yield return windowState; - } - yield break; - } + { + foreach (IWindowState windowState in InnerLayoutEngine.DoLayout(rectangle, monitor)) + { + yield return windowState; + } + yield break; + } // If the inner layout engine is a proxy floating layout engine, then we apply gaps for the non-floating windows. int nonProxiedCount = 0; diff --git a/src/Whim/Template/whim.config.csx b/src/Whim/Template/whim.config.csx index ef6013c35..68c0df51c 100644 --- a/src/Whim/Template/whim.config.csx +++ b/src/Whim/Template/whim.config.csx @@ -17,6 +17,9 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; +using Microsoft.UI; +using Microsoft.UI.Xaml.Markup; +using Microsoft.UI.Xaml.Media; using Whim; using Whim.Bar; using Whim.CommandPalette; @@ -31,9 +34,6 @@ using Whim.TreeLayout.CommandPalette; using Whim.Updater; using Whim.Yaml; using Windows.Win32.UI.Input.KeyboardAndMouse; -using Microsoft.UI; -using Microsoft.UI.Xaml.Markup; -using Microsoft.UI.Xaml.Media; /// /// This is what's called when Whim is loaded.