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

Fix incorrect color fringe colors on SVG:s (#7069)

This is a problem that affected the fringes on all SVG:s with
transparency, especially on a light background.

## Before

![image](https://github.com/user-attachments/assets/342823ad-005c-4f82-83a6-d2dcccfd3221)


## After

![image](https://github.com/user-attachments/assets/73398265-d333-461b-8c2b-fce405d95a9c)
This commit is contained in:
Emil Ernerfeldt
2025-05-21 17:18:36 +02:00
committed by GitHub
parent f23618701f
commit 54ae2360ec
6 changed files with 49 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ include = [
"../LICENSE-MIT",
"**/*.rs",
"Cargo.toml",
"data/icon.png",
"data/*",
]
[lints]
@@ -43,7 +43,7 @@ syntect = ["egui_extras/syntect"]
[dependencies]
egui = { workspace = true, default-features = false, features = ["color-hex"] }
egui_extras = { workspace = true, features = ["default"] }
egui_extras = { workspace = true, features = ["default", "file", "svg"] }
unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies