ScratchTools icon indicating copy to clipboard operation
ScratchTools copied to clipboard

Fix API`feature.traps.paint()` can't get

Open Masaabu opened this issue 5 months ago • 0 comments

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.

Masaabu avatar Sep 06 '24 08:09 Masaabu