43a4aa2b1681f7ed21ac59143ca7d91419b83fa4

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Fix formatting

Diff

 1diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
 2index 155aa5ba8bed74d10982f2d481b12b7ebe707cbb..c2ce51f43a51584956a3be67614789c1e39f9eff 100644
 3--- a/src/Hy3Layout.cpp
 4+++ b/src/Hy3Layout.cpp
 5@@ -1094,12 +1094,12 @@ void Hy3Layout::makeGroupOn(Hy3Node* node, Hy3GroupLayout layout) {
 6 	if (node->parent != nullptr) {
 7 		auto& group = node->parent->data.as_group;
 8 		if (group.children.size() == 1
 9-				&& (group.layout == Hy3GroupLayout::SplitH
10-				|| group.layout == Hy3GroupLayout::SplitV))
11+			&& (group.layout == Hy3GroupLayout::SplitH
12+			|| group.layout == Hy3GroupLayout::SplitV))
13 		{
14-				group.layout = layout;
15-				node->parent->recalcSizePosRecursive();
16-				return;
17+			group.layout = layout;
18+			node->parent->recalcSizePosRecursive();
19+			return;
20 		}
21 	}
22