Skip to content

Commit 1c526e1

Browse files
committed
https://github.com/MagicFoundation/Alcinoe/issues/318
1 parent 35ea8fb commit 1c526e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Embarcadero/Athens/Athens.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ diff --git a/Embarcadero/Athens/fmx/FMX.Canvas.D2D.pas b/Embarcadero/Athens/fmx/
1010
- if TrailingHit then
1111
- Result := Result + Integer(HitTestMetrics.length);
1212
+ //https://quality.embarcadero.com/browse/RSP-39734
13-
+ if Result >= 0 then Inc(Result); // HitTestMetrics.textPosition look like zero based
13+
+ if TrailingHit then Inc(Result); // HitTestMetrics.textPosition look like zero based
1414
+ //if TrailingHit then
1515
+ // Result := Result + Integer(HitTestMetrics.length);
1616
end

0 commit comments

Comments
 (0)