Commit 624f43e7 authored by Anton Tarasov's avatar Anton Tarasov
Browse files

IDEA-193169 badly rendered SVG icons in Customize dialog

parent d36f0115
Branches unavailable Tags unavailable
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -183,6 +183,10 @@ public class SVGLoader {
Document document;
String uri = null;
try {
if (url != null && "jar".equals(url.getProtocol()) && stream != null) {
// workaround for BATIK-1217
url = new URL(url.getPath());
}
uri = url != null ? url.toURI().toString() : null;
}
catch (URISyntaxException ignore) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment