diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-04-02 01:18:29 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-04-04 09:30:02 +0000 |
commit | e227c33455ef364353dd9f6d24934b9c35ff15ec (patch) | |
tree | 9ff6bfaef5e7c779536a6d6e8e99f66cf30fa801 /src/corelib/thread/qgenericatomic.h | |
parent | 7bae1bd5cb131989581eb3940527d29cb8895c90 (diff) |
wasm: improve event coordinate handling
targetX and targetY are canvas-local coordinates,
while Qt generally works with window-local and global
coordinates.
Add coordinate mapping calls where needed and make
sure we pass correct coordinate types to Qt.
This starts mattering when we have canvases which
are not located at (0, 0).
Change-Id: I28563310ca17d0cc5535317cff99fcd82d3723db
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/corelib/thread/qgenericatomic.h')
0 files changed, 0 insertions, 0 deletions