Fix boxfit

This commit is contained in:
Christian Pauly 2020-05-16 09:16:46 +02:00
commit 94587d7fcc
2 changed files with 9 additions and 4 deletions

View file

@ -43,7 +43,7 @@ class ImageView extends StatelessWidget {
minScale: 1.0,
maxScale: 10.0,
panLimit: 0.0,
child: ImageBubble(event, tapToView: false),
child: ImageBubble(event, tapToView: false, fit: BoxFit.contain),
),
);
}