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
+1 -1
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 {