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

Fix APIfeature.traps.paint() can't get #961

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

Masaabu
Copy link
Contributor

@Masaabu Masaabu commented Sep 6, 2024

In my environment, the paint editor feature wasn't working, and upon investigating the cause, I noticed that feature.traps.paint() was returning null. Further investigation revealed that the class name for the paint editor's mode selector had changed from paint-editor_mode-selector_28iiQ to paint-editor_mode-selector_O2uhP. As a result, I updated the code to search for the new class name when the element with the old class name paint-editor_mode-selector_28iiQ couldn't be found. At least in my environment, this issue has been resolved.

@MaterArc MaterArc added this to the ScratchTools v4.0.0 milestone Nov 28, 2024
@rgantzos rgantzos added type: enhancement Makes an existing feature better priority: 2 The 2nd most important. scope: feature labels Nov 30, 2024
@rgantzos rgantzos added type: bug Something isn't working and removed type: enhancement Makes an existing feature better labels Nov 30, 2024
@rgantzos rgantzos merged commit e8fa05e into STForScratch:main Nov 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: 2 The 2nd most important. scope: feature type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants