Lua - fix gui.drawText() (and gui.drawString)
This commit is contained in:
parent
1226603697
commit
54363e4da1
|
@ -530,7 +530,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
var font = new Font(family, fontsize ?? 12, fstyle, GraphicsUnit.Pixel);
|
||||
g.DrawString(message, font, GetBrush(color ?? "white"), LuaInt(x), LuaInt(y));
|
||||
g.DrawString(message, font, GetBrush(color ?? "white"), x, y);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue