Skip to content

Conversation

@fsih
Copy link
Contributor

@fsih fsih commented Sep 20, 2018

Resolves

Fixes #279

Proposed Changes

When stroke color is transparent, make the width report 0
When stroke width is 0, make the color report transparent

When the stroke color is changed from transparent, make the width 1
When stroke width is changed from 0, make the color black

Reason for Changes

Don't have hidden properties.
When you make changes, they are visible.

@fsih fsih force-pushed the transparentStrokeWidth branch from d90a8c2 to 82baf0c Compare September 20, 2018 19:57
@benjiwheeler
Copy link
Contributor

Code LGTM. Do you know why the checks are failing?

@fsih
Copy link
Contributor Author

fsih commented Sep 20, 2018

Ah, oops! I need to fix the tests

@fsih
Copy link
Contributor Author

fsih commented Sep 25, 2018

@benjiwheeler I got the stroke color to stay the same when you switch the width to 0 and then raise it up again, but it only works if you have something selected

@fsih
Copy link
Contributor Author

fsih commented Sep 25, 2018

Fixed tests

@fsih fsih requested review from benjiwheeler and removed request for benjiwheeler September 26, 2018 15:20
@benjiwheeler
Copy link
Contributor

LGTM!

@benjiwheeler benjiwheeler removed their assignment Sep 26, 2018
@fsih fsih merged commit c6fb28a into scratchfoundation:develop Sep 26, 2018
@fsih fsih deleted the transparentStrokeWidth branch September 26, 2018 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants