summaryrefslogtreecommitdiff
path: root/src/Graphics.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-22 19:30:23 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-22 19:30:23 (GMT)
commitadf7a3c720a15df891c6784e1edb28725975aadf (patch)
tree4f3e5f8aee25011ea969b752e94ba19465e533d6 /src/Graphics.cpp
parentf86f2a99977bc56f2e62209d28faaf4894e719db (diff)
downloadpowder-adf7a3c720a15df891c6784e1edb28725975aadf.zip
powder-adf7a3c720a15df891c6784e1edb28725975aadf.tar.gz
Better icon alignment, improve appearance of preview
Diffstat (limited to 'src/Graphics.cpp')
-rw-r--r--src/Graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Graphics.cpp b/src/Graphics.cpp
index 856f165..36c271d 100644
--- a/src/Graphics.cpp
+++ b/src/Graphics.cpp
@@ -599,6 +599,7 @@ void Graphics::textsize(const char * s, int & width, int & height)
void Graphics::draw_icon(int x, int y, Icon icon)
{
+ y--;
switch(icon)
{
case IconOpen: