egui
egui copied to clipboard
Disable interaction for `ScrollArea` and `Plot` when UI is disabled
Summary
This PR modifies ScrollArea and Plot to disable their interactions when the UI is disabled.
Changes
- Interaction with
ScrollAreaineguiis disabled when the UI is disabled. - Interaction with
Plotinegui_plotis disabled when the UI is disabled. - These changes ensure that
ScrollAreaandPlotbehave 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