mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-03-12 00:08:04 +01:00
DroidFish: Disabled logging in SVG parser.
This commit is contained in:
parent
f61785af2d
commit
e0ae12e7f8
@ -1196,7 +1196,7 @@ public class SVGParser {
|
||||
}
|
||||
popTransform();
|
||||
} else if (!hidden) {
|
||||
Log.d(TAG, "UNRECOGNIZED SVG COMMAND: " + localName);
|
||||
// Log.d(TAG, "UNRECOGNIZED SVG COMMAND: " + localName);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1226,9 +1226,6 @@ public class SVGParser {
|
||||
for (int i = 0; i < positions.length; i++) {
|
||||
positions[i] = gradient.positions.get(i);
|
||||
}
|
||||
if (colors.length == 0) {
|
||||
Log.d("BAD", "BAD");
|
||||
}
|
||||
LinearGradient g = new LinearGradient(gradient.x1, gradient.y1, gradient.x2, gradient.y2, colors, positions, Shader.TileMode.CLAMP);
|
||||
if (gradient.matrix != null) {
|
||||
g.setLocalMatrix(gradient.matrix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user