Skip to content

Commit

Permalink
Format line
Browse files Browse the repository at this point in the history
  • Loading branch information
pihart committed Oct 12, 2020
1 parent 0a5039c commit 816493c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/qboard.ts
Expand Up @@ -232,7 +232,9 @@ export default class QBoard {
iEvent.e.preventDefault();
this.updateCursor(iEvent);
this.dragLeave(iEvent.e as DragEvent);
return this.clipboard.processFiles((iEvent.e as DragEvent).dataTransfer.files);
return this.clipboard.processFiles(
(iEvent.e as DragEvent).dataTransfer.files
);
};

pathCreated = async (e: any): Promise<void> => {
Expand Down Expand Up @@ -261,7 +263,7 @@ export default class QBoard {
objectModified = async (e: any): Promise<void> =>
this.history.modify(e.target._objects || [e.target]);

updateCursor = (e: fabric.IEvent): void => {
updateCursor = (e: fabric.IEvent): void => {
const { x, y } = this.baseCanvas.getPointer(e.e);
this.baseCanvas.cursor = { x, y };
};
Expand Down

0 comments on commit 816493c

Please sign in to comment.