mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
SVG: do not override view box
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
4ef7aa90b9
commit
3d93818533
1 changed files with 0 additions and 2 deletions
|
@ -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%");
|
||||
|
|
Loading…
Reference in a new issue