We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c609aec commit ad614a2Copy full SHA for ad614a2
cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxEditBoxHelper.java
@@ -257,8 +257,6 @@ public void run() {
257
}
258
// TODO: The font size is not the same across all the android devices...
259
if (fontSize >= 0){
260
- float density = mCocos2dxActivity.getResources().getDisplayMetrics().density;
261
-// Log.e("XXX", "density is " + density);
262
editBox.setTextSize(TypedValue.COMPLEX_UNIT_PX,
263
fontSize);
264
0 commit comments