Skip to content

Commit 9f11c3a

Browse files
committed
feat(Avalonia): add OCR Tool
1 parent a581e64 commit 9f11c3a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

SnapX.Avalonia/Views/MainView.axaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ private async Task ExecuteSelectedTool(string action)
125125
var qrWindow = new QRCodeView();
126126
qrWindow.Show();
127127
},
128+
["OCR"] = async () =>
129+
{
130+
var ocrWindow = new OCR();
131+
ocrWindow.Show();
132+
}
128133
};
129134

130135
if (action != null && actionMap.TryGetValue(action, out var func))

0 commit comments

Comments
 (0)