egui/crates
William Zhang 770c82a3f3
Prevent `TextEdit` widgets from sending fake primary clicks (#4751)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

This prevents TextEdit widgets from sending fake primary clicks when a
user types Space / Enter. Small change but having Space / Enter send
`OutputEvent::ValueChanged` instead of `OutputEvent::Clicked` makes more
sense I believe.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-07-02 09:18:47 +02:00
..
ecolor Add `Color32::lerp_to_gamma` (#4627) 2024-06-06 15:41:10 +02:00
eframe Persist `Area` positions again (#4749) 2024-07-01 17:33:03 +02:00
egui Prevent `TextEdit` widgets from sending fake primary clicks (#4751) 2024-07-02 09:18:47 +02:00
egui-wgpu Fix doclinks in egui-wgpu docs (#4677) 2024-06-19 11:26:26 +02:00
egui-winit Add `Key::Quote` (#4683) 2024-06-23 11:36:32 +02:00
egui_demo_app egui_demo_app: include `log::trace` in debug builds 2024-07-01 16:26:20 +02:00
egui_demo_lib Disabled widgets are now also disabled in the accesskit output (#4750) 2024-07-02 09:18:30 +02:00
egui_extras Sort feature flags in egui_extras 2024-06-27 14:29:59 +02:00
egui_glow Fix dragging of `custom_window_frame` example on Windows (#4656) 2024-06-19 16:19:41 +02:00
egui_plot Disabled widgets are now also disabled in the accesskit output (#4750) 2024-07-02 09:18:30 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath egui_plot: Improve default formatter of tick-marks (#4738) 2024-06-30 14:20:41 +02:00
epaint Fix wrong comment 2024-06-30 14:35:46 +02:00