Skip to content
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

Remove last Closure from Block Factory. #2573

Merged
merged 4 commits into from
Jun 26, 2019
Merged

Conversation

NeilFraser
Copy link
Contributor

@NeilFraser NeilFraser commented Jun 13, 2019

Improves UI, allows "no colour" to be set, but is still pretty clunky. Closes #668.

Improves UI, but is still pretty clunky.  For example there’s still not way to choose “no colour”.
Closes #668.
Near complete rewrite of colour picker for Blockly Factory.
* Drop IE6 support.
* Flip picker as needed so it doesn’t go offscreen.
* Add support for no colour.
* Factor CSS out of JS.
* Provide palette of our standard colours.
Previously they were defined in hex.
This meant that saturation and value were hardcoded.
This also resulted in off-by-one errors (Math was hardcoded as #5C68A6, but is calculated as #5B67A5) which in turn resulted in the colour not being highlighted in the picker.
@RoboErikG RoboErikG self-assigned this Jun 24, 2019
Copy link
Contributor

@RoboErikG RoboErikG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty reasonable, but where did cp.js come from?

demos/blockfactory/cp.js Show resolved Hide resolved
@NeilFraser NeilFraser merged commit cbd9441 into develop Jun 26, 2019
@NeilFraser NeilFraser deleted the fraser-dev-tools branch June 26, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants