diff options
| author | Paul Olav Tvete <paul.tvete@qt.io> | 2025-06-02 15:43:31 +0200 |
|---|---|---|
| committer | Paul Olav Tvete <paul.tvete@qt.io> | 2025-06-04 09:37:29 +0200 |
| commit | f5140d62082e9b06e0ca6c8e2175b5836286f52e (patch) | |
| tree | e8b534d2bc3de54d365407b4037eabd2e8c0b72d /src/qmlcompiler/qqmljscompiler.cpp | |
| parent | da9de7c13ea2c212d4762568f0e2318d23a96116 (diff) | |
Fix for global position in hover events
The hover event delivery logic is based on scenePosition, so the global
position has to be calculated. Using item.mapToGlobal(scenePosition)
will apply the item's position twice. This change first calculates
localPosition and then uses item.mapToGlobal(localPosition).
Fixes: QTBUG-134099
Pick-to: 6.10 6.9 6.8
Change-Id: I83f1382784300a1c73ab2b6f50e0288dcf99689b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljscompiler.cpp')
0 files changed, 0 insertions, 0 deletions
