diff --git a/editor/studio/AMXX_Studio.exe b/editor/studio/AMXX_Studio.exe index 75c1fd2f..5a712e76 100755 Binary files a/editor/studio/AMXX_Studio.exe and b/editor/studio/AMXX_Studio.exe differ diff --git a/editor/studio/UnitfrmHudMsgGenerator.pas b/editor/studio/UnitfrmHudMsgGenerator.pas index 7f2f4f3b..8af8887e 100755 --- a/editor/studio/UnitfrmHudMsgGenerator.pas +++ b/editor/studio/UnitfrmHudMsgGenerator.pas @@ -89,7 +89,7 @@ begin lblHudMsg.Left := 0 else if lblHudMsg.Left > pnlHudmessage.Width then lblHudMsg.Left := pnlHudmessage.Width; - txtXPos.Text := FloatToStr(RoundTo(lblHudMsg.Left / pnlHudmessage.Width, -2)); + txtXPos.Text := FloatToStrF(lblHudMsg.Left / pnlHudmessage.Width, ffFixed, -2, 2); end; { Y Pos } @@ -99,7 +99,7 @@ begin lblHudMsg.Top := 0 else if lblHudMsg.Top > pnlHudmessage.Height then 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;