Skip to content

Commit

Permalink
transfer animation settings to clones
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 8, 2023
1 parent c286b6d commit d2e8e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/lab/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@
newSkin.setFontFamily(originalSkin.fontFamily);
newSkin.setWidth(originalSkin.textWidth);
newSkin.setText(originalSkin.text);
newSkin.setRainbowDuration(originalSkin.rainbowDuration);
newSkin.setZoomDuration(originalSkin.zoomDuration);
newSkin.setTypeDelay(originalSkin.typeDelay);
if (renderer._allDrawables[this.drawableID].skin instanceof TextCostumeSkin) {
renderer.updateDrawableSkinId(newClone.drawableID, newSkin.id);
}
Expand Down

0 comments on commit d2e8e46

Please sign in to comment.