Possibly a bad way to scroll.

It's functional, but this menu probably need a future overhaul.
This commit is contained in:
GabsPuNs
2026-06-21 15:15:53 -04:00
parent 831ad4ab43
commit 612d0ada92
2 changed files with 34 additions and 4 deletions

View File

@@ -301,6 +301,10 @@ UIScene_LoadCreateJoinMenu::UIScene_LoadCreateJoinMenu(int iPad, void* initData,
{
m_document->Show();
//TO-DO: Modify scrolling factor to match list item buttons size and add
//mouse wheel support.
ctx->SetDefaultScrollBehavior(Rml::ScrollBehavior::Instant, 1.0f);
// Register tab button click listeners
auto registerTab = [&](const char* id) {
auto* el = m_document->GetElementById(id);