diff options
| author | Rindbee <idleman@yeah.net> | 2023-04-30 10:54:50 +0800 |
|---|---|---|
| committer | Rindbee <idleman@yeah.net> | 2023-05-15 07:16:00 +0800 |
| commit | 391bce44b75b345e33347d28de49608d5850e7a6 (patch) | |
| tree | 93fd047c40c33b7bfe74da0b6854c44ac7c61181 /platform/web/api/javascript_bridge_singleton.h | |
| parent | 9f12e7b52d944281a39b7d3a33de6700c76cc23a (diff) | |
| download | redot-engine-391bce44b75b345e33347d28de49608d5850e7a6.tar.gz | |
Fix calculation bug with `TextEdit::get_line_height()`
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.
Diffstat (limited to 'platform/web/api/javascript_bridge_singleton.h')
0 files changed, 0 insertions, 0 deletions
