From: Simon Cross Date: Sat, 17 May 2014 11:50:55 +0000 (+0200) Subject: Move hint up in preparation for state mode display (i.e. puzzle vs difficulty). X-Git-Tag: 0.1~115 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=924c709176b25ab5997514ffebfd3f90ad277ea8;p=naja.git Move hint up in preparation for state mode display (i.e. puzzle vs difficulty). --- diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index a122b6f..f6fde80 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -6,7 +6,7 @@ import pygame.locals as pgl from naja.constants import ( INFO_SIZE, ACT, KEYS, EXAMINE, PALETTE, - ACTION_TEXT_OFFSET, INFO_LEFT_PADDING) + ACTION_TEXT_OFFSET, INFO_LEFT_PADDING, BIT_SIZE) from naja.events import finish_event from naja.resources import resources from naja.resources.mutators import EIGHT_BIT, blender @@ -80,7 +80,7 @@ class InfoAreaWidget(Widget): box_width=(INFO_SIZE[0] - INFO_LEFT_PADDING - 8)) hint.prepare() y_offset = ( - INFO_SIZE[1] - hint.surface.get_rect().height - INFO_LEFT_PADDING + INFO_SIZE[1] - hint.surface.get_rect().height - BIT_SIZE[1] - 2) self.surface.blit(hint.surface, (INFO_LEFT_PADDING, y_offset))