Minor fixes

This commit is contained in:
Christian Pauly 2020-05-16 09:12:57 +02:00
commit 8f463610bd
2 changed files with 7 additions and 9 deletions

View file

@ -40,10 +40,8 @@ class ImageView extends StatelessWidget {
],
),
body: ZoomableWidget(
minScale: 0.3,
maxScale: 2.0,
// default factor is 1.0, use 0.0 to disable boundary
panLimit: 0.8,
minScale: 1.0,
panLimit: 0.0,
child: ImageBubble(event, tapToView: false),
),
);