File tree Expand file tree Collapse file tree 4 files changed +18
-12
lines changed
Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,13 @@ jobs:
1313 build :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
16+ - uses : actions/checkout@v4
1717 with :
1818 persist-credentials : false
1919 - name : Install Node.js
20- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
20+ uses : actions/setup-node@v4
2121 with :
22- node-version : 20
23- cache : npm
22+ node-version : 22
2423 - name : Install dependencies
2524 run : npm ci
2625 - name : Build playground
3130 # It will still generate what it can, so it's safe to ignore the error
3231 continue-on-error : true
3332 - name : Upload artifact
34- uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
33+ uses : actions/upload-pages-artifact@v3
3534 with :
3635 path : ./playground/
3736
4746 steps :
4847 - name : Deploy to GitHub Pages
4948 id : deployment
50- uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
49+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
11+ - uses : actions/checkout@v4
1212 with :
1313 persist-credentials : false
1414 - name : Install Node.js
15- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
15+ uses : actions/setup-node@v4
1616 with :
1717 node-version : 22
1818 cache : npm
Original file line number Diff line number Diff line change @@ -137,10 +137,14 @@ class Scratch3PenBlocks {
137137 * @private
138138 */
139139 _getPenLayerID ( ) {
140- if ( this . _penSkinId < 0 && this . runtime . renderer ) {
141- this . _penSkinId = this . runtime . renderer . createPenSkin ( ) ;
142- this . _penDrawableId = this . runtime . renderer . createDrawable ( StageLayering . PEN_LAYER ) ;
143- this . runtime . renderer . updateDrawableSkinId ( this . _penDrawableId , this . _penSkinId ) ;
140+ const renderer = this . runtime . renderer ;
141+ if ( this . _penSkinId < 0 && renderer ) {
142+ this . _penSkinId = renderer . createPenSkin ( ) ;
143+ this . _penDrawableId = renderer . createDrawable ( StageLayering . PEN_LAYER ) ;
144+ if ( renderer . markDrawableAsNoninteractive ) {
145+ renderer . markDrawableAsNoninteractive ( this . _penDrawableId ) ;
146+ }
147+ renderer . updateDrawableSkinId ( this . _penDrawableId , this . _penSkinId ) ;
144148 }
145149 return this . _penSkinId ;
146150 }
Original file line number Diff line number Diff line change @@ -157,6 +157,9 @@ class Video {
157157 if ( renderer . markSkinAsPrivate ) {
158158 renderer . markSkinAsPrivate ( this . _skinId ) ;
159159 }
160+ if ( renderer . markDrawableAsNoninteractive ) {
161+ renderer . markDrawableAsNoninteractive ( this . _drawable ) ;
162+ }
160163 }
161164
162165 // if we haven't already created and started a preview frame render loop, do so
You can’t perform that action at this time.
0 commit comments