mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-17 09:37:50 +01:00
DroidFish: Fixed incorrect bounds calculation in SVG code.
This commit is contained in:
parent
436579fe20
commit
9447c67ce7
|
@ -995,7 +995,7 @@ public class SVGParser {
|
|||
}
|
||||
Float width = getFloatAttr("width", atts);
|
||||
Float height = getFloatAttr("height", atts);
|
||||
bounds = new RectF(x, y, x + width, y + width);
|
||||
bounds = new RectF(x, y, x + width, y + height);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user