Skip to content

Commit

Permalink
Escl: Fix progress for platen
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Sep 5, 2023
1 parent c6b0bfe commit 38eb51e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NAPS2.Sdk/Scan/Internal/Escl/EsclScanDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ public async Task Scan(ScanOptions options, CancellationToken cancelToken, IScan
{
callback(image);
}
if (scanSettings.InputSource == EsclInputSource.Platen)
{
break;
}
}
}
finally
Expand Down

0 comments on commit 38eb51e

Please sign in to comment.