-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
fix: #8575 , Flowchart clones the current arrowhead #8581
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
fix: #8575 , Flowchart clones the current arrowhead #8581
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
|
Yes, it works. Can you also make sure that the arrow uses the stroke and color of the starting shape instead of the global arrow setting? |
|
I'm not sure what you're saying, but the goal would be to override the color, stroke and sloppyness of the arrow with the starting shape values, not get it from the global settings. The arrowhead part looks perfect, we just need to unify the the flowchart arrow style with the starting shape and its good to go. |
so Yes the current the color, stroke and sloppyness of the arrow comes is being taken from the staring shape, for eg: current situation
On change of the global arrow once again
can you confirm if you need whetherOn change of the global arrow once again
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the attributes come from the starting shape (including the sloppiness, which is currently not set).
| startArrowhead: appState.currentItemStartArrowhead, | ||
| startArrowhead: null, | ||
| endArrowhead: appState.currentItemEndArrowhead, | ||
| strokeColor: appState.currentItemStrokeColor, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the starting (startBindingElement) stroke color instead of appState.currentItemStrokeColor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
understood
| startArrowhead: null, | ||
| endArrowhead: appState.currentItemEndArrowhead, | ||
| strokeColor: appState.currentItemStrokeColor, | ||
| strokeStyle: appState.currentItemStrokeStyle, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the starting (startBindingElement) stroke style instead of appState.currentItemStrokeStyle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
understood
|
can you please check it now ? I have updated the PR |
|
Awsome, thanks! @dwelle I believe this is ready for your review. |
|
Yes, nothing else for the moment. |
|
Hi @rothardo it will be done when dwelle has time to review it. No need to ping him, I'm tracking all the PRs I reviewed. |
|
Hi @mtolmacs, It has been quite a while since this PR was submitted, may I know the status of it,
I gave not seen anything change since , is there anything needed from my side? then please let me know, I shall do it |
|
Thank you, and really sorry for taking so long 😊 A followup issue could be to make sure the other rectangle also copies the attributes of the starting rectangle. |
so, are you opening up an issue on the same? then I am ready to take that issue and work on it? |
|
@rothardo #9045 👍 |



FIXES
#8575
DEMO
2024-10-02.15-26-39.mp4