egui/crates
Varphone Wong 11fa9cc7ee
Disable interaction for `ScrollArea` and `Plot` when UI is disabled (#4457)
## Summary

This PR modifies `ScrollArea` and `Plot` to disable their interactions
when the UI is disabled.

## Changes

- Interaction with `ScrollArea` in `egui` is disabled when the UI is
disabled.
- Interaction with `Plot` in `egui_plot` is disabled when the UI is
disabled.
- These changes ensure that `ScrollArea` and `Plot` behave consistently
with the rest of the UI, preventing them from responding to user input
when the UI is in a disabled state.

## Impact

This PR enhances the consistency of `egui`'s UI behavior by ensuring
that all elements, including `ScrollArea` and `Plot`, respect the UI's
disabled state. This prevents unexpected interactions when the UI is
disabled.

Closes #4341
2024-05-11 00:42:03 +02:00
..
ecolor Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
eframe Fix : In Windows, the 'egui_demo_app' screen does not appear. (#4410) 2024-05-11 00:41:02 +02:00
egui Disable interaction for `ScrollArea` and `Plot` when UI is disabled (#4457) 2024-05-11 00:42:03 +02:00
egui-wgpu Fix some clippy warning from Rust 1.78.0 (#4444) 2024-05-02 17:04:25 +02:00
egui-winit IME for chinese (#4436) 2024-05-11 00:09:14 +02:00
egui_demo_app Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
egui_demo_lib Fix some clippy warning from Rust 1.78.0 (#4444) 2024-05-02 17:04:25 +02:00
egui_extras Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
egui_glow Enable egui_glow's winit feature on wasm (#4420) (#4421) 2024-04-29 10:33:23 +02:00
egui_plot Disable interaction for `ScrollArea` and `Plot` when UI is disabled (#4457) 2024-05-11 00:42:03 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
epaint Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00