Fixed name

This commit is contained in:
garfield_ho 2013-10-22 15:41:43 +08:00
parent 54ac8f3537
commit 55d45081f6
1 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@ var cc = cc || {};
cc.RESOLUTION_POLICY = {
// The entire application is visible in the specified area without trying to preserve the original aspect ratio.
// Distortion can occur, and the application may appear stretched or compressed.
EXACTFIT:0,
EXACT_FIT:0,
// The entire application fills the specified area, without distortion but possibly with some cropping,
// while maintaining the original aspect ratio of the application.
NOBORDER:1,
NO_BORDER:1,
// The entire application is visible in the specified area without distortion while maintaining the original
// aspect ratio of the application. Borders can appear on two sides of the application.
SHOW_ALL:2,
@ -18,12 +18,12 @@ SHOW_ALL:2,
// canvas so that it fits the aspect ratio of the device
// no distortion will occur however you must make sure your application works on different
// aspect ratios
HEIGHT:3,
FIXED_HEIGHT:3,
// The application takes the width of the design resolution size and modifies the height of the internal
// canvas so that it fits the aspect ratio of the device
// no distortion will occur however you must make sure your application works on different
// aspect ratios
WIDTH:4,
FIXED_WIDTH:4,
UNKNOWN:5
};