Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyer3d committed Mar 12, 2024
1 parent fbc7c77 commit 0780118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/drawing/src/drawing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1097,9 +1097,9 @@ export class Drawing extends React.Component {

if (shouldAbort) return
fabric.util.enlivenObjects(normalizedObjects, (enlivenedObjects) => {
// Есть ситуации, когда во время выполнения enlivenObjects this.canvas уже нет
if (shouldAbort) return

// Есть ситуации, когда во время выполнения enlivenObjects this.canvas уже нет
if (!this.canvas) {
resolve()

Expand Down

0 comments on commit 0780118

Please sign in to comment.