egui
egui copied to clipboard
Selection Stroke Color is the same color for the cursor for the text box.
ui.visuals_mut().selection.stroke.color is the same color for the text edit cursor, could you make it so we can change the color of the selection stroke color without changing the text edit cursor color. If you could just tell me where in the code the text edit cursor code is i might be able to do it myself, but im new to rust. So can you add this
This is what im talking about
I think adding a separate cursor: Stroke to struct Visuals makes sense. That would also replace text_cursor_width (would be part of the Stroke).
The code is in paint_cursor_end in egui/src/widgets/text_edit/builder.rs