Skip to content

Commit

Permalink
Make JCanvasLayerWithHandles compatible with extended JCanvasLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Jun 14, 2024
1 parent 619557f commit 590c332
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/jcanvas-handles.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/// <reference path="jcanvas.d.ts" />

interface JCanvasDefaults {
handle: JCanvasLayer | null;
guide: JCanvasLayer | null;
aspectRatio: number | null;
resizeFromCenter: boolean;
constrainProportions: boolean;
handlePlacement: "corners" | "sides" | "both";
minWidth: number;
minHeight: number;
handle?: JCanvasLayer | null;
guide?: JCanvasLayer | null;
aspectRatio?: number | null;
resizeFromCenter?: boolean;
constrainProportions?: boolean;
handlePlacement?: "corners" | "sides" | "both";
minWidth?: number;
minHeight?: number;
handlestart?: JCanvasLayerCallback;
handlestop?: JCanvasLayerCallback;
handlemove?: JCanvasLayerCallback;
Expand Down

0 comments on commit 590c332

Please sign in to comment.