mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 17:15:16 +00:00
Use different indentation for rpl operators.
It works better with Visual Studio IDE.
This commit is contained in:
@@ -55,18 +55,19 @@ LayerWidget::LayerWidget(
|
||||
}
|
||||
|
||||
void LayerWidget::setupHeightConsumers() {
|
||||
_content->scrollTillBottomChanges()
|
||||
| rpl::filter([this] { return !_inResize; })
|
||||
| rpl::start_with_next([this] {
|
||||
_content->scrollTillBottomChanges(
|
||||
) | rpl::filter([this] {
|
||||
return !_inResize;
|
||||
}) | rpl::start_with_next([this] {
|
||||
resizeToWidth(width());
|
||||
}, lifetime());
|
||||
_content->desiredHeightValue(
|
||||
) | rpl::start_with_next([this](int height) {
|
||||
accumulate_max(_desiredHeight, height);
|
||||
if (_content && !_inResize) {
|
||||
resizeToWidth(width());
|
||||
}, lifetime());
|
||||
_content->desiredHeightValue()
|
||||
| rpl::start_with_next([this](int height) {
|
||||
accumulate_max(_desiredHeight, height);
|
||||
if (_content && !_inResize) {
|
||||
resizeToWidth(width());
|
||||
}
|
||||
}, lifetime());
|
||||
}
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
void LayerWidget::showFinished() {
|
||||
|
Reference in New Issue
Block a user