Skip to content

Commit ac6a052

Browse files
committed
fix bug 1993hzw#15
1 parent 55159d0 commit ac6a052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doodle/src/main/java/cn/hzw/doodle/DoodleActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public void onSelectedItem(IDoodle doodle, IDoodleSelectableItem selectableItem,
312312
mDoodle.setColor(mLastColor);
313313
mLastColor = null;
314314
}
315-
if (mSize != -1) {
315+
if (mSize != null) {
316316
mDoodle.setSize(mSize);
317317
mSize = null;
318318
}

0 commit comments

Comments
 (0)