-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
Misaligned routes when chrome zoom is not 100% #218
Comments
Last one Version 92.0.4515.107 (Official Build) (64-bit) |
Zoom at 150% works fine, but 125% not. |
@Fr1411 I see the images of the demo. |
@jerosoler yes! if i move any node it´s the same. |
@jerosoler Do you think this problem will be solved? |
Fix in new version 0.0.48 https://github.com/jerosoler/Drawflow/releases/tag/0.0.48 Removed transform tranlate from connection. The new css looks like this: .drawflow .connection {
position: absolute;
pointer-events: none;
}
.drawflow .connection .main-path {
fill: none;
stroke-width: 5px;
stroke: steelblue;
pointer-events: all;
}
.drawflow .connection .main-path:hover {
stroke: #1266ab;
cursor: pointer;
}
.drawflow .connection .main-path.selected {
stroke: #43b993;
}
.drawflow .connection .point {
cursor: move;
stroke: black;
stroke-width: 2;
fill: white;
pointer-events: all;
} Update Demo page |
thank you so much for fixing it
…________________________________
From: Jero Soler ***@***.***>
Sent: 04 August 2021 22:02
To: jerosoler/Drawflow ***@***.***>
Cc: Ammy ***@***.***>; Comment ***@***.***>
Subject: Re: [jerosoler/Drawflow] Misaligned routes when chrome zoom is not 100% (#218)
Fix in new version 0.0.48 https://github.com/jerosoler/Drawflow/releases/tag/0.0.48
Removed transform tranlate from connection.
The new css looks like this:
.drawflow .connection {
position: absolute;
pointer-events: none;
}
.drawflow .connection .main-path {
fill: none;
stroke-width: 5px;
stroke: steelblue;
pointer-events: all;
}
.drawflow .connection .main-path:hover {
stroke: #1266ab;
cursor: pointer;
}
.drawflow .connection .main-path.selected {
stroke: #43b993;
}
.drawflow .connection .point {
cursor: move;
stroke: black;
stroke-width: 2;
fill: white;
pointer-events: all;
}
Update Demo page
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#218 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN6MZCSQBXWQ6MOBLDQWWOLT3FTQFANCNFSM5A7QMZHA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Thank you! |
When user has a different zoom factor in Chrome, the routes are not alligned.
The following example was done with the demo application:
The text was updated successfully, but these errors were encountered: