From bcdb7aa3fe05e62feb42e9eb4071d4dfae965b59 Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Fri, 11 Jun 2010 15:52:53 +0000 Subject: bugfix: scaling of help screen on low resolutions git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2487 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Screens/UScreenPopup.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Game/Code/Screens/UScreenPopup.pas b/Game/Code/Screens/UScreenPopup.pas index e3cf6f0a..e7d6ce00 100644 --- a/Game/Code/Screens/UScreenPopup.pas +++ b/Game/Code/Screens/UScreenPopup.pas @@ -763,10 +763,10 @@ var h, offset: integer; begin - maxh := ScreenH+ScreenH-Rect.Bottom; + maxh := 2*RenderH+Rect.Bottom; h := 0; - offset := round(Help.GetScrollPos()*(max_high-ScreenH+ScreenH-Rect.Bottom)); + offset := round(Help.GetScrollPos()*(max_high-Rect.Bottom)); I := 0; while (I