Skip to content

Fix mouse/touch event's position error#370

Merged
zccrs merged 1 commit intovioken:masterfrom
zccrs:scale
Jun 11, 2024
Merged

Fix mouse/touch event's position error#370
zccrs merged 1 commit intovioken:masterfrom
zccrs:scale

Conversation

@zccrs
Copy link
Copy Markdown
Contributor

@zccrs zccrs commented Jun 6, 2024

No description provided.

@zccrs zccrs requested a review from ZhongYic00 June 6, 2024 04:02
@zccrs zccrs changed the title Fix surface's mouse/touch events is not scale following surfaceSizeRatio Fix mouse/touch event's position error Jun 6, 2024
The WSurfaceItem::eventItem should be following surfaceSizeRatio
property to scale. Like as the content item.
@zccrs
Copy link
Copy Markdown
Contributor Author

zccrs commented Jun 6, 2024

CC @lychee-yycy

@lbwtw
Copy link
Copy Markdown

lbwtw commented Jun 6, 2024

scale 1.5
DISPLAY=:1 QT_SCALE_FACTOR=2 qtcreator -platform xcb

mouse event's position error still exists

@zccrs zccrs merged commit 3423f81 into vioken:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants