Преглед изворни кода

SVG: do not override view box

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky пре 4 година
родитељ
комит
3d93818533

+ 0 - 2
src/main/java/com/owncloud/android/utils/svg/SvgBitmapTranscoder.java

@@ -47,8 +47,6 @@ public class SvgBitmapTranscoder implements ResourceTranscoder<SVG, Bitmap> {
     public Resource<Bitmap> transcode(Resource<SVG> toTranscode) {
         SVG svg = toTranscode.get();
 
-        svg.setDocumentViewBox(0, 0, svg.getDocumentWidth(), svg.getDocumentHeight());
-
         try {
             svg.setDocumentHeight("100%");
             svg.setDocumentWidth("100%");