Support folders strip touch-screen scroll.

This commit is contained in:
John Preston 2024-12-12 13:57:41 +04:00
parent a2b8366477
commit 5072e95f16

View file

@ -192,7 +192,10 @@ not_null<Ui::RpWidget*> AddChatFiltersTabsStrip(
}
}
const auto container = wrap->entity();
const auto scroll = Ui::CreateChild<Ui::ScrollArea>(container, scrollSt);
const auto scroll = Ui::CreateChild<Ui::ScrollArea>(
container,
scrollSt,
true);
const auto slider = scroll->setOwnedWidget(
object_ptr<Ui::ChatsFiltersTabs>(
parent,