Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Render line on top of area so it isn't partially hidden #343

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

jlongster
Copy link
Contributor

@jlongster jlongster commented Mar 5, 2018

The Area component currently renders the stroke element below the area. This causes weird effects like this:

screen shot 2018-03-05 at 11 50 54 am

Don't see here? Here, let me bump up the stroke width:

screen shot 2018-03-05 at 11 51 22 am

The issue is that half of the bar is hidden underneath the area. Even without this visual glitch, if you give it a strokeWidth of 10 it's only going to show 5 pixels because the area is hiding half of it.

Here's how it looks with my fix:

screen shot 2018-03-05 at 11 50 14 am

I can't see why this was intentional, so hopefully this is an easy merge. Let me know if there's anything else I can do!

@jlongster
Copy link
Contributor Author

Any chance this could get looked at?

@boygirl
Copy link
Contributor

boygirl commented Mar 22, 2018

@jlongster sorry about that. You caught me on vacation! This looks great. I'll get it released for Monday

@boygirl boygirl merged commit 69ea9fb into FormidableLabs:master Mar 22, 2018
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.

2 participants