Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
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
ryuta46
2023-04-12 08:47:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cd894b45deb0f1fa7ecec557ce79fcf8f9436050
cd894b45
1 parent
06997ab5
imp: Remove zoom animation to match android behavior.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ios/Classes/MobileScanner.swift
ios/Classes/MobileScanner.swift
View file @
cd894b4
...
...
@@ -286,7 +286,7 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega
actualScale
=
min
(
maxZoomFactor
,
actualScale
)
// Limit to 1.0 scale
device
.
ramp
(
toVideoZoomFactor
:
actualScale
,
withRate
:
5
)
device
.
videoZoomFactor
=
actualScale
device
.
unlockForConfiguration
()
}
catch
{
throw
MobileScannerError
.
zoomError
(
error
)
...
...
Please
register
or
login
to post a comment