moai/moai-dev — pull request #659 by Nepherhotep (2013-03-05 07:57:05+00:00)
Title: Fixed MOAIEnvironment.verticalResolution (and .horizontalResolution) overriding

moaiInit already sets verticalResolution and horizontalResolution params by implicit AKUSetScreenSize call.
But additional call in AKUIphoneInit ```environment.SetValue ( MOAI_ENV_horizontalResolution, [[ UIScreen mainScreen ] bounds ].size.width * [[ UIScreen mainScreen ] scale ] );``` will override them.
It is wrong behavior since it will hide custom setup, for example - for landscape screen orientation.