[DE mobile] Fix bug 50954
This commit is contained in:
parent
175a2a0d44
commit
1fb891a772
|
@ -18,7 +18,7 @@ class EditTextController extends Component {
|
|||
if (isDecrement) {
|
||||
typeof size === 'undefined' ? api.FontSizeOut() : size = Math.max(1, --size);
|
||||
} else {
|
||||
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(300, ++size);
|
||||
typeof size === 'undefined' ? api.FontSizeIn() : size = Math.min(300, ++size);
|
||||
}
|
||||
if (typeof size !== 'undefined') {
|
||||
api.put_TextPrFontSize(size);
|
||||
|
|
Loading…
Reference in a new issue