Skip to content

Viewer crashes when dragging off screen #86

@elliottslaughter

Description

@elliottslaughter

I noticed while playing around today that if you drag the mouse off the screen, the viewer will crash at the following line:

let current = response.interact_pointer_pos().unwrap();

The trivial fix is not desirable because it would (presumably) cause the drag region to disappear entirely. Therefore, we might need to preserve the last known drag location so that we can keep rendering while the drag is off-screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions