Skip to content

Commit ad614a2

Browse files
committed
remove unused variable declare
1 parent c609aec commit ad614a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxEditBoxHelper.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ public void run() {
257257
}
258258
// TODO: The font size is not the same across all the android devices...
259259
if (fontSize >= 0){
260-
float density = mCocos2dxActivity.getResources().getDisplayMetrics().density;
261-
// Log.e("XXX", "density is " + density);
262260
editBox.setTextSize(TypedValue.COMPLEX_UNIT_PX,
263261
fontSize);
264262
}

0 commit comments

Comments
 (0)