egui/crates
Lucas Meurer 6d312cc4c7
Add support for scrolling via accesskit / kittest (#7286)
I need to scroll in a snapshot test in my app, and kittest had no
utilities for this. Event::MouseWheel is error prone. This adds support
for some accesskit scroll actions, and uses this in kittest to add
helpers to scroll to a node / scroll the scroll area surrounding a node.

The accesskit code says down/up/left/right `Scrolls by approximately one
screen in a specific direction.`. Unfortunately it's difficult to get
the size of a "screen" (I guess that would be the size of the containing
scroll area)where I implemented the scrolling, so for now I've hardcoded
it to 100px. I think scrolling a fixed amount is still better than not
scrolling at all.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2025-07-03 12:02:05 +02:00
..
ecolor Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
eframe Respect and detect `prefers-color-scheme: no-preference` (#7293) 2025-07-03 08:58:45 +02:00
egui Add support for scrolling via accesskit / kittest (#7286) 2025-07-03 12:02:05 +02:00
egui-wgpu Improve text rendering in light mode (#7290) 2025-07-02 14:58:37 +02:00
egui-winit Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
egui_demo_app Add `Visuals::weak_text_alpha` and `weak_text_color` (#7285) 2025-07-01 20:42:54 +02:00
egui_demo_lib Improve text rendering in light mode (#7290) 2025-07-02 14:58:37 +02:00
egui_extras Extend .typos.toml to enforce american english (#7284) 2025-07-01 15:54:00 +02:00
egui_glow Improve text rendering in light mode (#7290) 2025-07-02 14:58:37 +02:00
egui_kittest Add support for scrolling via accesskit / kittest (#7286) 2025-07-03 12:02:05 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
emath Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
epaint Improve text rendering in light mode (#7290) 2025-07-02 14:58:37 +02:00
epaint_default_fonts Update `emoji-icon-font` with fix for fullwidth latin characters (#7067) 2025-05-21 13:22:23 +02:00