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

Comments

@silviamacovei
Copy link

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

This comment has been minimized.

Copy link
Collaborator

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

This comment has been minimized.

Copy link
Collaborator

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 Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.