2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

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,