* Closes https://github.com/emilk/egui/issues/4727 This changes the text selection painting from being painted on top of the text, to being painted behind the text, but in front of any text background. The result is much nicer looking text selection, especially in light mode: ### The new selections <img width="198" alt="Screenshot 2024-08-27 at 18 58 35" src="https://github.com/user-attachments/assets/bd342946-299c-44ab-bc2d-2aa8ddbca8eb"> <img width="187" alt="Screenshot 2024-08-27 at 18 59 26" src="https://github.com/user-attachments/assets/352bed32-5150-49b9-a9f9-c7679a0d30b2"> ### What selections used to look like <img width="143" alt="Screenshot 2024-08-27 at 19 03 08" src="https://github.com/user-attachments/assets/f3cbd798-cfed-4ad4-aa3a-d7480efcfa3c"> <img width="143" alt="Screenshot 2024-08-27 at 19 03 23" src="https://github.com/user-attachments/assets/9925d18d-da82-4a44-8a98-ea6857ecc14f"> ### New selection of some text with a background <img width="134" alt="Screenshot 2024-08-27 at 18 59 12" src="https://github.com/user-attachments/assets/1d291d7f-efbd-4efd-b6d2-cd63c9fc4fa4"> |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| README.md | ||
README.md
epaint - egui paint library
A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.
Made for egui.