Skip to content

eframe web: mouse position is wrong when canvas has border or padding #4725

@emilk

Description

@emilk

We use getBoundingClientRect which includes border and padding. We need to manually subtract those.

Metadata

Metadata

Assignees

Labels

bugSomething is brokeneframeRelates to epi and eframewebRelated to running Egui on the web

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions