We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0f46e commit 8cbaafeCopy full SHA for 8cbaafe
app/components/import/state.js
@@ -81,10 +81,14 @@ class ImportState {
81
img.src = this.path;
82
83
} else if (this.rotCanvas) {
84
- console.log(this.rotCanvas);
85
this.ctx.drawImage(this.rotCanvas, 0, 0);
86
delete this.rotCanvas;
87
- requestAnimationFrame(this.loaded);
+ requestAnimationFrame(() => {
+ this.loaded();
88
+ importState.getBBoxes();
89
+ importState.importSprites();
90
+ importState.importAll();
91
+ });
92
}
93
};
94
app/components/mappings/rotate.js
@@ -46,6 +46,7 @@ export const Rotate = observer(() => {
46
function reImport() {
47
importState.rotCanvas = canvasRef.current;
48
importState.config.active = true;
49
+ mappingState.rotate.active = false;
50
51
52
return (
0 commit comments