diff options
| author | jacob1 <jfu614@gmail.com> | 2012-09-21 02:28:32 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-25 19:10:23 (GMT) |
| commit | de7218da8dfcac8d66280811ea755b75da474301 (patch) | |
| tree | bc51da4499a110819e4ab6263ad29ac50e647e42 /src/dialogues/TextPrompt.cpp | |
| parent | 5de2a4e479788977dc1f5f84430bd644bcd49151 (diff) | |
| download | powder-de7218da8dfcac8d66280811ea755b75da474301.zip powder-de7218da8dfcac8d66280811ea755b75da474301.tar.gz | |
Fix black border around dialogs being off (I think I got all of them)
Diffstat (limited to 'src/dialogues/TextPrompt.cpp')
| -rw-r--r-- | src/dialogues/TextPrompt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogues/TextPrompt.cpp b/src/dialogues/TextPrompt.cpp index 3566fb1..85472a0 100644 --- a/src/dialogues/TextPrompt.cpp +++ b/src/dialogues/TextPrompt.cpp @@ -109,7 +109,7 @@ void TextPrompt::OnDraw() { Graphics * g = ui::Engine::Ref().g; - g->clearrect(Position.X-2, Position.Y-2, Size.X+4, Size.Y+4); + g->clearrect(Position.X-2, Position.Y-2, Size.X+3, Size.Y+3); g->drawrect(Position.X, Position.Y, Size.X, Size.Y, 200, 200, 200, 255); } |
