mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-16 03:03: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) {
|
if (node->parent != nullptr) {
|
||||||
auto& group = node->parent->data.as_group;
|
auto& group = node->parent->data.as_group;
|
||||||
if (group.children.size() == 1
|
if (group.children.size() == 1
|
||||||
&& (group.layout == Hy3GroupLayout::SplitH
|
&& (group.layout == Hy3GroupLayout::SplitH
|
||||||
|| group.layout == Hy3GroupLayout::SplitV))
|
|| group.layout == Hy3GroupLayout::SplitV))
|
||||||
{
|
{
|
||||||
group.layout = layout;
|
group.layout = layout;
|
||||||
node->parent->recalcSizePosRecursive();
|
node->parent->recalcSizePosRecursive();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue