mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 14:59:11 +02:00
Qt,Qt5: reverted wrong X & Y for opaque
git-svn-id: trunk@53828 -
This commit is contained in:
parent
042b662492
commit
fcdcae4206
@ -2260,7 +2260,7 @@ begin
|
||||
begin
|
||||
// couldn't find way to fix it.
|
||||
end;
|
||||
QtDC.fillRect(X, Y, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
|
||||
QtDC.fillRect(Rect^.Left, Rect^.Top, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
|
||||
end else
|
||||
if ((Options and ETO_OPAQUE) = 0) and (Rect <> nil) and (QtDC.getBKMode = OPAQUE) then
|
||||
begin
|
||||
|
@ -2219,7 +2219,7 @@ begin
|
||||
end;
|
||||
|
||||
if ((Options and ETO_OPAQUE) <> 0) and (Rect <> nil) then
|
||||
QtDC.fillRect(X, Y, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
|
||||
QtDC.fillRect(Rect^.Left, Rect^.Top, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
|
||||
|
||||
if Str <> nil then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user