diff options
author | Chris West <therealchriswest@hotmail.com> | 2013-01-04 20:15:04 +0000 |
---|---|---|
committer | Chris West <therealchriswest@hotmail.com> | 2013-01-05 16:25:25 +0000 |
commit | cd60774081a86160d0abe32dcc68247e20c9a3df (patch) | |
tree | e88f5d96341ec9898138d2b4d56250f537eaa13d /crawl-ref/source/tilereg-grid.cc | |
parent | 7f01c6bdd655d501c43dcfa771aa15595f7382c9 (diff) | |
download | crawl-ref-cd60774081a86160d0abe32dcc68247e20c9a3df.tar.gz crawl-ref-cd60774081a86160d0abe32dcc68247e20c9a3df.zip |
moved tooltip message and made bigger in touch UI
Diffstat (limited to 'crawl-ref/source/tilereg-grid.cc')
-rw-r--r-- | crawl-ref/source/tilereg-grid.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-grid.cc b/crawl-ref/source/tilereg-grid.cc index a4ac3d3c55..63e0463494 100644 --- a/crawl-ref/source/tilereg-grid.cc +++ b/crawl-ref/source/tilereg-grid.cc @@ -98,6 +98,10 @@ void GridRegion::draw_desc(const char *desc) int x = sx + ox + dx / 2; int y = sy + oy; + // ... unless we're using the touch UI, in which case: put at bottom + if( tiles.is_using_small_layout() ) + y = wy; + const coord_def min_pos(sx, sy - dy); const coord_def max_pos(ex, ey); |