Skip to content

Commit

Permalink
Fix DrawText being hardcoded to drawing "Hello World"
Browse files Browse the repository at this point in the history
  • Loading branch information
ollydev committed Feb 20, 2024
1 parent d096b53 commit abc4f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/image/simba.image_textdrawer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ procedure TSimbaTextDrawerBase.DrawText(Text: String; Position: TPoint; Color: T
begin
BeginDrawing();
try
inherited DrawText('Hello World', FFont, Position.X, Position.Y + FFont.SizeInPoints, TColorToFPColor(Color));
inherited DrawText(Text, FFont, Position.X, Position.Y + FFont.SizeInPoints, TColorToFPColor(Color));
finally
EndDrawing();
end;
Expand Down

0 comments on commit abc4f5f

Please sign in to comment.