mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-29 15:36:08 +00:00
Use different indentation for rpl operators.
It works better with Visual Studio IDE.
This commit is contained in:
@@ -117,14 +117,14 @@ RpWidget *VerticalLayout::addChild(
|
||||
margin,
|
||||
width() - margins.left() - margins.right(),
|
||||
height() - margins.top() - margins.bottom());
|
||||
weak->heightValue()
|
||||
| rpl::start_with_next_done([this, weak] {
|
||||
if (!_inResize) {
|
||||
childHeightUpdated(weak);
|
||||
}
|
||||
}, [this, weak] {
|
||||
removeChild(weak);
|
||||
}, lifetime());
|
||||
weak->heightValue(
|
||||
) | rpl::start_with_next_done([this, weak] {
|
||||
if (!_inResize) {
|
||||
childHeightUpdated(weak);
|
||||
}
|
||||
}, [this, weak] {
|
||||
removeChild(weak);
|
||||
}, lifetime());
|
||||
return weak;
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user