1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Better rounding of rectangles with thin outlines (#5571)

Better positioning of rectangle outline when the stroke width is less
than one pixel
This commit is contained in:
Emil Ernerfeldt
2025-01-02 23:50:40 +01:00
committed by GitHub
parent 46b58e5bcc
commit 4784136fee
2 changed files with 18 additions and 38 deletions

View File

@@ -102,7 +102,7 @@ pub enum SnapshotError {
}
const HOW_TO_UPDATE_SCREENSHOTS: &str =
"Run `UPDATE_SNAPSHOTS=1 cargo test` to update the snapshots.";
"Run `UPDATE_SNAPSHOTS=1 cargo test --all-features` to update the snapshots.";
impl Display for SnapshotError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {