diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-12-08 02:06:31 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-12-11 21:17:39 +0000 |
commit | b0f142e3533599466f15f1303b063ee35b18e4e0 (patch) | |
tree | 1cfdc27695e8042bc430359c5fc6f5680dc4c3e3 /src/plugins/platforms/ios/quiaccessibilityelement.mm | |
parent | 3d720f38faec4c1c600e128d5d8da5a4435ec1ae (diff) |
iOS: Ensure that the cursor rect doesn't trigger an inverted scroll
If the cursor is at the top of the screen, it may end up with a cursor
rect that extends beyond the screen after we pad it. We need to make
sure it's constrained by the screen geometry before checking if it's
within the available geometry.
Task-number: QTBUG-65041
Change-Id: I115f49d359b3c2e10219a6b8aa5ad051f44256a7
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/quiaccessibilityelement.mm')
0 files changed, 0 insertions, 0 deletions