Reduce extremes of Jumbomoji behavior.

pull/1/head
Matthew Chen 8 years ago
parent 72fba87746
commit cebeea9189

@ -257,13 +257,13 @@ NS_ASSUME_NONNULL_BEGIN
case 0: case 0:
break; break;
case 1: case 1:
return [UIFont ows_regularFontWithSize:basePointSize * 2.f]; return [UIFont ows_regularFontWithSize:basePointSize + 18.f];
case 2: case 2:
return [UIFont ows_regularFontWithSize:basePointSize * 1.666f]; return [UIFont ows_regularFontWithSize:basePointSize + 12.f];
case 3: case 3:
case 4: case 4:
case 5: case 5:
return [UIFont ows_regularFontWithSize:basePointSize * 1.333f]; return [UIFont ows_regularFontWithSize:basePointSize + 6.f];
default: default:
OWSFail(@"%@ Unexpected jumbomoji count: %zd", self.logTag, self.displayableText.jumbomojiCount); OWSFail(@"%@ Unexpected jumbomoji count: %zd", self.logTag, self.displayableText.jumbomojiCount);
break; break;

Loading…
Cancel
Save