Language dropdown with pixel flags in settings, title and login
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b025036277
commit
d8e9184a9c
3 files changed
+334
-5
No files matched your search
+6
-4
@@ -1024,10 +1024,12 @@ async fn main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if menu.scrollable() {
|
||||
let (_, wheel) = mouse_wheel();
|
||||
if wheel != 0.0 {
|
||||
menu.scroll_lines(if wheel > 0.0 { -1 } else { 1 });
|
||||
let (_, wheel) = mouse_wheel();
|
||||
if wheel != 0.0 && menu.page.is_some() {
|
||||
let d = if wheel > 0.0 { -1 } else { 1 };
|
||||
// an open language dropdown scrolls first
|
||||
if !menu.lang_wheel(d) && menu.scrollable() {
|
||||
menu.scroll_lines(d);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user