diff options
author | Tang Haixiang <tanghaixiang@uniontech.com> | 2021-04-07 16:46:58 +0800 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-04-20 10:15:33 +0000 |
commit | e99a883bd382ca950192bd66cafb2a1de6394ce7 (patch) | |
tree | 8245b203fbddb049fdfe389d57f08d4d27257ad2 /src/plugins/platforms/ios/qiosorientationlistener.mm | |
parent | 5d2da76c1ee70ffd1f027365c0f3af74b76fd382 (diff) |
Draw the cursor considering the descent is 0
When the descent of the item is 0, ascent is the
height of the item, base(base = si.ascent)> sl.base.
At this time, sl.descent is not considered. The
calculated y value may be <0.
Fixes: QTBUG-86823
Fixes: QTBUG-92468
Pick-to: 5.15 6.0 6.1
Change-Id: I9cf088dec9162595e52ff72aa90ec3153a30fb72
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosorientationlistener.mm')
0 files changed, 0 insertions, 0 deletions