Skip to content

Window resize not following cursor in wasm demo #206

@ChevyRay

Description

@ChevyRay

Describe the bug
Incorrect resizing behavior when resizing a window in the egui wasm demo. The corner of the window, when grabbed, does not correctly follow the cursor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://emilk.github.io/egui/
  2. Enable the "⬌ Window Resize" example
  3. Resize the "⬌ Resizable" window

Expected behavior
The corner, when grabbed, should follow the mouse cursor.

Screenshots
resizing bug

Desktop (please complete the following information):

  • OS: macOS Big Sur 11.1
  • Browser: Google Chrome 88.0.4324.192

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions