Skip to content

Commit

Permalink
Update RenderWebGL.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkPool-SP authored Mar 19, 2024
1 parent c93b321 commit c9e71f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/RenderWebGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -2317,6 +2317,13 @@ class RenderWebGL extends EventEmitter {
this._snapshotCallbacks.push(callback);
}

/**

Check failure on line 2320 in src/RenderWebGL.js

View workflow job for this annotation

GitHub Actions / build

Missing JSDoc @returns for function
* 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
Expand Down

0 comments on commit c9e71f9

Please sign in to comment.