mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Fix vertical alignment of text in signs
It's now consistent with the rest of the UI.
This commit is contained in:
@@ -997,7 +997,7 @@ void Renderer::DrawSigns()
|
||||
String text = currentSign.getDisplayText(sim, x, y, w, h);
|
||||
clearrect(x, y, w+1, h);
|
||||
drawrect(x, y, w+1, h, 192, 192, 192, 255);
|
||||
drawtext(x+3, y+3, text, 255, 255, 255, 255);
|
||||
drawtext(x+3, y+4, text, 255, 255, 255, 255);
|
||||
|
||||
if (currentSign.ju != sign::None)
|
||||
{
|
||||
|
@@ -170,7 +170,7 @@ void SignWindow::DoDraw()
|
||||
String text = currentSign.getDisplayText(sim, x, y, w, h);
|
||||
g->clearrect(x, y, w+1, h);
|
||||
g->drawrect(x, y, w+1, h, 192, 192, 192, 255);
|
||||
g->drawtext(x+3, y+3, text, 255, 255, 255, 255);
|
||||
g->drawtext(x+3, y+4, text, 255, 255, 255, 255);
|
||||
|
||||
if (currentSign.ju != sign::None)
|
||||
{
|
||||
|
Reference in New Issue
Block a user