Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dalyIsaac committed Nov 3, 2024
1 parent 291ef6d commit 429a77a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions src/Whim.Gaps/GapsLayoutEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public override IEnumerable<IWindowState> DoLayout(IRectangle<int> rectangle, IM
{
// If the inner layout engine is a floating layout engine, then we don't apply gaps.
if (InnerLayoutEngine.GetLayoutEngine<FloatingLayoutEngine>() is not null)
{
foreach (IWindowState windowState in InnerLayoutEngine.DoLayout(rectangle, monitor))
{
yield return windowState;
}
yield break;
}
{

Check warning on line 48 in src/Whim.Gaps/GapsLayoutEngine.cs

View check run for this annotation

Codecov / codecov/patch

src/Whim.Gaps/GapsLayoutEngine.cs#L48

Added line #L48 was not covered by tests
foreach (IWindowState windowState in InnerLayoutEngine.DoLayout(rectangle, monitor))
{
yield return windowState;
}
yield break;

Check warning on line 53 in src/Whim.Gaps/GapsLayoutEngine.cs

View check run for this annotation

Codecov / codecov/patch

src/Whim.Gaps/GapsLayoutEngine.cs#L50-L53

Added lines #L50 - L53 were not covered by tests
}

// If the inner layout engine is a proxy floating layout engine, then we apply gaps for the non-floating windows.
int nonProxiedCount = 0;
Expand Down
6 changes: 3 additions & 3 deletions src/Whim/Template/whim.config.csx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

/// <summary>
/// This is what's called when Whim is loaded.
Expand Down

0 comments on commit 429a77a

Please sign in to comment.