Worked on the OCR to improve the usage, it would now be possible to add a processor which scans all captures.

This commit is contained in:
Robin Krom 2020-02-20 22:59:09 +01:00
parent a4e4ae86cc
commit b49b01c9be
5 changed files with 215 additions and 74 deletions

View file

@ -317,6 +317,9 @@ namespace Greenshot {
private readonly Timer _doubleClickTimer = new Timer();
public MainForm(CopyDataTransport dataTransport) {
var uiContext = TaskScheduler.FromCurrentSynchronizationContext();
SimpleServiceProvider.Current.AddService(uiContext);
DpiChanged += (e,o) => ApplyDpiScaling();
// The most important form is this