Revert "fixed padding tooltip for all"

This reverts commit 6242220, which broke tooltip detection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Boki 2026-02-11 14:15:28 -05:00
parent f9b8ef9158
commit b8f5637c49
4 changed files with 123 additions and 260 deletions

View file

@ -34,9 +34,6 @@ class Request
[JsonPropertyName("debug")]
public bool Debug { get; set; }
[JsonPropertyName("ocr")]
public OcrOptions? Ocr { get; set; }
[JsonPropertyName("targetRow")]
public int TargetRow { get; set; } = -1;
@ -44,21 +41,6 @@ class Request
public int TargetCol { get; set; } = -1;
}
class OcrOptions
{
[JsonPropertyName("preprocess")]
public bool Preprocess { get; set; } = true;
[JsonPropertyName("kernelSize")]
public int KernelSize { get; set; } = 25;
[JsonPropertyName("scale")]
public int Scale { get; set; } = 2;
[JsonPropertyName("minConfidence")]
public int MinConfidence { get; set; } = 50;
}
class RegionRect
{
[JsonPropertyName("x")]