From 924c709176b25ab5997514ffebfd3f90ad277ea8 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 May 2014 13:50:55 +0200 Subject: [PATCH] Move hint up in preparation for state mode display (i.e. puzzle vs difficulty). --- naja/widgets/info_area.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.34.1