aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-11 15:52:53 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-11 15:52:53 +0000
commitbcdb7aa3fe05e62feb42e9eb4071d4dfae965b59 (patch)
treec3e5be22ac0fadbec68852fa1b834b885f76545a /Game/Code/Screens
parent097726c40b1d9712eec65b8812ebca80da41259f (diff)
downloadusdx-bcdb7aa3fe05e62feb42e9eb4071d4dfae965b59.tar.gz
usdx-bcdb7aa3fe05e62feb42e9eb4071d4dfae965b59.tar.xz
usdx-bcdb7aa3fe05e62feb42e9eb4071d4dfae965b59.zip
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
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenPopup.pas4
1 files 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<Length(TextsGFX)) and (h<maxh) do