Merge pull request #6048 from L1Q/develop

Fix FPS limit not applying preference
This commit is contained in:
Jaex 2022-01-24 22:03:45 +03:00 committed by GitHub
commit cd90c8b245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ public RegionCaptureForm(RegionCaptureMode mode, RegionCaptureOptions options, B
timerStart = new Stopwatch(); timerStart = new Stopwatch();
FPSManager = new FPSManager() FPSManager = new FPSManager()
{ {
FPSLimit = 100 FPSLimit = Options.FPSLimit
}; };
FPSManager.FPSUpdated += FpsManager_FPSChanged; FPSManager.FPSUpdated += FpsManager_FPSChanged;
regionAnimation = new RectangleAnimation() regionAnimation = new RectangleAnimation()