Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Aleksei
2024-01-24 09:19:39 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
David PHAM-VAN
2024-01-27 12:16:39 -0400
Commit
bc517b28db91f37ef103f0fcef72fb41fe62953e
bc517b28
1 parent
ac4d648b
Fix cursors for web
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
printing/lib/src/preview/custom.dart
printing/lib/src/preview/custom.dart
View file @
bc517b2
...
...
@@ -285,13 +285,20 @@ class PdfPreviewCustomState extends State<PdfPreviewCustom>
Widget
_zoomPreview
()
{
final
zoomPreview
=
GestureDetector
(
onTap:
()
{
if
(
kIsWeb
)
{
onTapDown:
kIsWeb
?
(
_
)
{
setState
(()
{
_mouseCursor
=
SystemMouseCursors
.
grabbing
;
});
}
},
:
null
,
onTapUp:
kIsWeb
?
(
_
)
{
setState
(()
{
_mouseCursor
=
SystemMouseCursors
.
grab
;
});
}
:
null
,
onDoubleTap:
()
{
setState
(()
{
preview
=
null
;
...
...
Please
register
or
login
to post a comment