mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-11 16:42:41 +01:00
DroidFish: Disabled logging in SVG parser.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user