mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-22 09:12:19 -05:00
Fix for autocompletion drawing on Linux
This commit is contained in:
parent
fc4a3b0acf
commit
16c6bfbddd
@ -312,7 +312,7 @@ begin
|
|||||||
{$IFDEF FPC}UnlockSelectionChange;{$ENDIF}
|
{$IFDEF FPC}UnlockSelectionChange;{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if {$IFDEF FPC}(odPainted in State) or{$ENDIF} (not Visible) or (ARect.Left > ClientRect.Right) or (ARect.Top > ClientRect.Bottom) or (Index < 0) or (Index >= Items.Count) then
|
if (not Visible) or (ARect.Left > ClientRect.Right) or (ARect.Top > ClientRect.Bottom) or (Index < 0) or (Index >= Items.Count) then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
tl := ARect.Left;
|
tl := ARect.Left;
|
||||||
|
Loading…
Reference in New Issue
Block a user