From ce1bc7156727ec30c059ab44dab689c4c6d990cc Mon Sep 17 00:00:00 2001 From: Wleter Date: Tue, 29 Aug 2023 18:41:56 +0200 Subject: [PATCH] formatting --- osu.Game/Overlays/SkinEditor/SkinSelectionHandler.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Overlays/SkinEditor/SkinSelectionHandler.cs b/osu.Game/Overlays/SkinEditor/SkinSelectionHandler.cs index 971ea3d266..2acddff0e4 100644 --- a/osu.Game/Overlays/SkinEditor/SkinSelectionHandler.cs +++ b/osu.Game/Overlays/SkinEditor/SkinSelectionHandler.cs @@ -80,11 +80,13 @@ namespace osu.Game.Overlays.SkinEditor SelectionBox.FlipScaleHandles(Direction.Horizontal); HandleFlip(Direction.Horizontal, false); } + if (adjustedRect.Height <= 0) { SelectionBox.FlipScaleHandles(Direction.Vertical); HandleFlip(Direction.Vertical, false); } + return true; }