Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure edge routing point can be grabbed in Firefox Browser #224

Merged
merged 1 commit into from Jan 26, 2023

Conversation

martin-fleck-at
Copy link
Contributor

It seems that in Firefox the 'mouseEnter' event is fired directly after the 'mouseDown' event which caused us to reset the position. However, we should only reset the position if no moving is in progress (i.e., there is no current position tracking/dragging going on). But in that case there is no need to reset the position at all, therefore we can safely remove the 'mouseEnter' event handling for edge routing editing.

Fixes eclipse-glsp/glsp#877

It seems that in Firefox the 'mouseEnter' event is fired directly after
the 'mouseDown' event which caused us to reset the position. However,
we should only reset the position if no moving is in progress (i.e.,
there is no current position tracking/dragging going on). But in that
case there is no need to reset the position at all, therefore we can
safely remove the 'mouseEnter' event handling for edge routing editing.

Fixes eclipse-glsp/glsp#877
Copy link
Contributor

@tortmayr tortmayr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@martin-fleck-at martin-fleck-at merged commit 20ec26e into master Jan 26, 2023
@martin-fleck-at martin-fleck-at deleted the issues/877 branch January 26, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edge Waypoint can not be grabed in Firefox Browser
2 participants