forked from scratchfoundation/scratch-render
-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c93b321
commit c9e71f9
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2317,6 +2317,13 @@ class RenderWebGL extends EventEmitter { | |
this._snapshotCallbacks.push(callback); | ||
} | ||
|
||
/** | ||
Check failure on line 2320 in src/RenderWebGL.js GitHub Actions / build
|
||
* Get the DrawableId of the pen layer | ||
*/ | ||
getPenDrawableId () { | ||
return this._allDrawables.findIndex(drawable => drawable._skin._id === this._penSkinId); | ||
} | ||
|
||
/** | ||
* Update the list of custom fonts. These fonts will be added to the DOM. | ||
* SEURITY CONSIDERATIONS: It is the caller's responsibility to ensure that the @font-face | ||
|