Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Comments

fix: FlowEditor edges not shown in Electron container#2638

Merged
cwhitten merged 7 commits intomasterfrom
visual/pixel
Apr 15, 2020
Merged

fix: FlowEditor edges not shown in Electron container#2638
cwhitten merged 7 commits intomasterfrom
visual/pixel

Conversation

@yeze322
Copy link
Contributor

@yeze322 yeze322 commented Apr 14, 2020

Description

fix #2167

This PR assigns each SVGContainer a same size with its parten container.
Make sure every svg line drawn at proper position.

Reason: Overflowed elements under an <svg> container will be drawn at improper position (related to zoom rate):
svg-deviation

Task Item

Screenshots

@yeze322 yeze322 changed the base branch from stable to master April 14, 2020 08:54
@github-actions
Copy link

Coverage Status

Coverage decreased (-0.01%) to 41.513% when pulling 831a212 on visual/pixel into b104618 on master.

@yeze322 yeze322 requested a review from srinaath April 15, 2020 03:05
@cwhitten
Copy link
Member

@yeze322 do you know what is causing E2E to fail?

@yeze322
Copy link
Contributor Author

yeze322 commented Apr 15, 2020

@yeze322 do you know what is causing E2E to fail?

image

@cwhitten
Copy link
Member

cwhitten commented Apr 15, 2020 via email

@yeze322
Copy link
Contributor Author

yeze322 commented Apr 15, 2020

@cwhitten the svg is overlapped with action node, cypress cannot click the action title. Setting z-index should fix this issue

----------update
See cypress-io/cypress#3935, I fix it by updating CI test
image

I realized that it's not that easy to thoroughtly fix the z-index problem. It's a 3D model
image

The click issue only happens under cypress env, so I fixed it on CI side

@cwhitten
Copy link
Member

ok @yeze322 - thanks!

@cwhitten cwhitten merged commit ed99f0b into master Apr 15, 2020
@cwhitten cwhitten deleted the visual/pixel branch April 15, 2020 15:14
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* give SVGContainer dynamic size

* + FlowEdges

* bypass breadcrumb CI

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visual Edior svg edges have accumulated deviation under some zoom rates

4 participants