mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:44:46 +00:00
fix(SVG importer): fix getStrokeFillWithOpacity call to getStrokeOpacity
This commit is contained in:
@@ -324,7 +324,7 @@ class SvgStyle {
|
||||
}
|
||||
Color strokeFillColor = ((SvgColor) strokeFill).color;
|
||||
|
||||
int opacity = (int) Math.round(getOpacity() * getStopOpacity() * 255);
|
||||
int opacity = (int) Math.round(getOpacity() * getStrokeOpacity() * 255);
|
||||
if (opacity > 255) {
|
||||
opacity = 255;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user