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

Diagram element is moved away from its position when colored #75

Closed
silviamacovei opened this issue Oct 3, 2019 · 2 comments
Closed

Comments

@silviamacovei
Copy link

silviamacovei commented Oct 3, 2019

To reproduce please create a Diagram and change the color of an element. You will notice that at the moment you change the color, the element moves slightly from its initial position. This leads to the user having to reposition the element in its original place.

ColorElement

@mflorea mflorea self-assigned this Oct 3, 2019
@mflorea mflorea added this to the 1.9 milestone Oct 3, 2019
@mflorea
Copy link
Collaborator

mflorea commented Oct 3, 2019

Doesn't reproduce on draw.io so it's an integration bug. The workaround for now is to hide the horizontal and vertical ruler from the View > Ruler menu. The shapes are redrawn as if the ruler is not present so they shift with the rule width. I'm looking for a fix.

@mflorea
Copy link
Collaborator

mflorea commented Oct 3, 2019

This issue is a regression caused by the recent draw.io upgrade.

mflorea added a commit that referenced this issue Oct 4, 2019
* Fix the editor UI before loading the diagram because layout changes can influence the way the shapes are drawn.
@mflorea mflorea closed this as completed Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants