Skip to content

Instantly share code, notes, and snippets.

@walterlua
Created October 2, 2012 06:06
Show Gist options
  • Save walterlua/3816630 to your computer and use it in GitHub Desktop.
Save walterlua/3816630 to your computer and use it in GitHub Desktop.
Workaround for Nook HD bug
-- Workaround for Nook HD bug
local listener = function( event )
if "applicationResume" == event.type then
display.currentStage.alpha = 0.9
-- Force invalidate 1 second after resume
timer.performWithDelay( 1000, function()
display.currentStage.alpha = 1.0
end)
end
end
Runtime:addEventListener( "system", listener )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment