Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Revert "Move element categories into own file+correct them"#149

Merged
fsih merged 1 commit into
scratchfoundation:developfrom
adroitwhiz:fix-image-transforms
Jun 10, 2020
Merged

Revert "Move element categories into own file+correct them"#149
fsih merged 1 commit into
scratchfoundation:developfrom
adroitwhiz:fix-image-transforms

Conversation

@adroitwhiz

Copy link
Copy Markdown
Contributor

This reverts commit 414c7d7.

Resolves

Resolves #148

Proposed Changes

This reverts the part of #143 that moves element categories into their own file and, crucially, removes image elements from the list of "paintable elements".

Reason for Changes

Because image elements stopped being counted as paintable, they were not being transformed by transform_applier.js, and would either show up in the wrong place or not show up at all.

Test Coverage

It might be a good idea to add some to prevent this from happening again

@fsih fsih left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LG, thanks for finding

@fsih fsih merged commit f4ae345 into scratchfoundation:develop Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embedded bitmap images are not being transformed properly

2 participants