fix ALLOW_RESIZE
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include "HelpDisplay.h"
|
||||
#include "ScreenDimensions.h"
|
||||
|
||||
static ThemeMetric<bool> ALLOW_RESIZE("ScreenCenterImage","AllowResize");
|
||||
|
||||
REGISTER_SCREEN_CLASS( ScreenCenterImage );
|
||||
ScreenCenterImage::ScreenCenterImage( CString sClassName ) : ScreenWithMenuElements( sClassName )
|
||||
{
|
||||
@@ -76,6 +78,9 @@ void ScreenCenterImage::Input( const DeviceInput& DeviceI, const InputEventType
|
||||
}
|
||||
}
|
||||
|
||||
if( !ALLOW_RESIZE )
|
||||
return;
|
||||
|
||||
bool bIncrease = false;
|
||||
|
||||
Axis axis = NUM_AXES;
|
||||
|
||||
Reference in New Issue
Block a user