mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Fix formatting
This commit is contained in:
parent
443081ab24
commit
43a4aa2b16
1 changed files with 5 additions and 5 deletions
|
@ -1094,12 +1094,12 @@ void Hy3Layout::makeGroupOn(Hy3Node* node, Hy3GroupLayout layout) {
|
|||
if (node->parent != nullptr) {
|
||||
auto& group = node->parent->data.as_group;
|
||||
if (group.children.size() == 1
|
||||
&& (group.layout == Hy3GroupLayout::SplitH
|
||||
|| group.layout == Hy3GroupLayout::SplitV))
|
||||
&& (group.layout == Hy3GroupLayout::SplitH
|
||||
|| group.layout == Hy3GroupLayout::SplitV))
|
||||
{
|
||||
group.layout = layout;
|
||||
node->parent->recalcSizePosRecursive();
|
||||
return;
|
||||
group.layout = layout;
|
||||
node->parent->recalcSizePosRecursive();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue