Skip to content

Commit

Permalink
fix:paste
Browse files Browse the repository at this point in the history
  • Loading branch information
ananzhusen committed Jan 8, 2025
1 parent a8d6181 commit be2a059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/canvas/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6711,7 +6711,7 @@ export class Canvas {
offset && (this.store.clipboard.offset = offset);
pos && (this.store.clipboard.pos = pos);
}
if(!this.keyOptions.F){
if(!this.keyOptions?.F){
this.store.clipboard.pens.forEach((pen: Pen) => {
delete pen.copyIndex;
});
Expand Down

0 comments on commit be2a059

Please sign in to comment.