Fixed dialog to configure on-screen buttons

This commit is contained in:
pelya
2012-12-11 19:56:07 +02:00
parent dd34270766
commit 47f86119d3
3 changed files with 6 additions and 6 deletions

View File

@@ -3,6 +3,8 @@ Known bugs
- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen.
- Put video at the center of the screen with 4:3 aspect ratio option
- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash.
- Calling SDL_Init()/SDL_Quit() several times will make SDL 1.2 crash.
@@ -11,15 +13,13 @@ Known bugs
- 32-bpp color mode does not work with SW video surface, 24-bpp and 32-bpp mode does not work with SDL_HWSURFACE.
- Set on-screen button
Requested features
==================
- Support for resuming download of partially-downloaded files.
- Perform a check for free space available on SD card before writing there, and write to the internal storage if SD card is unplugged.
- Force SW video mode from AndroidAppSettings.cfg, ignore SDL_HWSURFACE if app does not explicitly support it.
- Split Settings.java into several files
- Show/hide screen controls with longpress on Text Edit button.

View File

@@ -2254,7 +2254,7 @@ class Settings
public void onTouchEvent(final MotionEvent ev)
{
if(Globals.ScreenKbControlsLayout.length >= currentButton)
if(currentButton >= Globals.ScreenKbControlsLayout.length)
{
setupButton(false);
return;

View File

@@ -15,7 +15,7 @@ SdlVideoResize=y
SdlVideoResizeKeepAspect=n
CompatibilityHacks=n
CompatibilityHacksStaticInit=n
CompatibilityHacksTextInputEmulatesHwKeyboard=y
CompatibilityHacksTextInputEmulatesHwKeyboard=n
CompatibilityHacksPreventAudioChopping=n
CompatibilityHacksAppIgnoresAudioBufferSize=n
AppUsesMouse=y