Skip to content

Commit 06fa136

Browse files
Make page size half of what it orginally was
This makes zooming work while keeping performance up.
1 parent 9d70074 commit 06fa136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/pages_with_tiled_images/main_page_list_images_inspector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class PageListImagesInspectorDemo extends StatefulWidget {
3434
}
3535

3636
class _PageListImagesInspectorDemoState extends State<PageListImagesInspectorDemo> with TickerProviderStateMixin {
37-
static final _naturalPageSize = const Size(8.5, 11);
37+
static final _naturalPageSize = const Size(8.5, 11) * 14.4;
3838

3939
final _pageViewportKey = GlobalKey();
4040
late PageListViewportController _viewportController;

0 commit comments

Comments
 (0)