mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed bug at48369 once and for all
This commit is contained in:
parent
75a5dadd4d
commit
0cd1782d01
Binary file not shown.
@ -89,7 +89,7 @@ begin
|
|||||||
lblHudMsg.Left := 0
|
lblHudMsg.Left := 0
|
||||||
else if lblHudMsg.Left > pnlHudmessage.Width then
|
else if lblHudMsg.Left > pnlHudmessage.Width then
|
||||||
lblHudMsg.Left := pnlHudmessage.Width;
|
lblHudMsg.Left := pnlHudmessage.Width;
|
||||||
txtXPos.Text := FloatToStr(RoundTo(lblHudMsg.Left / pnlHudmessage.Width, -2));
|
txtXPos.Text := FloatToStrF(lblHudMsg.Left / pnlHudmessage.Width, ffFixed, -2, 2);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Y Pos }
|
{ Y Pos }
|
||||||
@ -99,7 +99,7 @@ begin
|
|||||||
lblHudMsg.Top := 0
|
lblHudMsg.Top := 0
|
||||||
else if lblHudMsg.Top > pnlHudmessage.Height then
|
else if lblHudMsg.Top > pnlHudmessage.Height then
|
||||||
lblHudMsg.Top := pnlHudmessage.Height;
|
lblHudMsg.Top := pnlHudmessage.Height;
|
||||||
txtYPos.Text := FloatToStr(RoundTo(lblHudMsg.Top / pnlHudmessage.Height, -2));
|
txtYPos.Text := FloatToStrF(lblHudMsg.Top / pnlHudmessage.Height, ffFixed, -2, 2);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user