mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 10:32:00 +00:00
Possibly a bad way to scroll.
It's functional, but this menu probably need a future overhaul.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user