Skip to content

Commit

Permalink
Renderer-Control -- small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkPool-SP authored Dec 5, 2024
1 parent b559ddd commit b9329af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extensions/SharkPool/Renderer-Control.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Description: Control Visuals of Sprites, Backdrops, Pen, Video, and More!
// By: SharkPool

// Version V.1.2.0
// Version V.1.2.01

(function (Scratch) {
"use strict";
Expand All @@ -15,7 +15,6 @@
const vm = Scratch.vm;
const runtime = vm.runtime;
const render = vm.renderer;

class SPrenderControl {
getInfo() {
return {
Expand Down Expand Up @@ -291,7 +290,7 @@
const allLay = render._drawList;
if (allLay.indexOf(args.ID) !== -1) {
render._allDrawables[args.ID].skin._rotationCenter = new Float32Array([x, y, 0]);
render._allDrawables[args.ID]._rotationCenterDirty = true;
render._allDrawables[args.ID]._skinWasAltered();
}
}

Expand Down

0 comments on commit b9329af

Please sign in to comment.