quick fix for positioning the FPS on non HD

This commit is contained in:
Ricardo Quesada 2014-02-13 04:10:23 +08:00
parent e7af234d31
commit 61e4ffbc3c
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ void Director::createStatsLabel()
Texture2D::setDefaultAlphaPixelFormat(currentFormat); Texture2D::setDefaultAlphaPixelFormat(currentFormat);
const int height_spacing = 11; const int height_spacing = 22 / CC_CONTENT_SCALE_FACTOR();
_drawnVerticesLabel->setPosition(Point(0, height_spacing*2) + CC_DIRECTOR_STATS_POSITION); _drawnVerticesLabel->setPosition(Point(0, height_spacing*2) + CC_DIRECTOR_STATS_POSITION);
_drawnBatchesLabel->setPosition(Point(0, height_spacing*1) + CC_DIRECTOR_STATS_POSITION); _drawnBatchesLabel->setPosition(Point(0, height_spacing*1) + CC_DIRECTOR_STATS_POSITION);
_FPSLabel->setPosition(Point(0, height_spacing*0)+CC_DIRECTOR_STATS_POSITION); _FPSLabel->setPosition(Point(0, height_spacing*0)+CC_DIRECTOR_STATS_POSITION);