chore(node-resizer): cleanup
This commit is contained in:
@@ -2,7 +2,7 @@ import { drag } from 'd3-drag';
|
||||
import { select } from 'd3-selection';
|
||||
|
||||
import { NodeLookup, Transform } from '../types';
|
||||
import { OnResize, OnResizeEnd, OnResizeStart, ResizeDragEvent, ShouldResize, XYResizerControlPosition } from './types';
|
||||
import { OnResize, OnResizeEnd, OnResizeStart, ResizeDragEvent, ShouldResize, ControlPosition } from './types';
|
||||
import { getControlDirection, getDimensionsAfterResize, getPositionAfterResize, getResizeDirection } from './utils';
|
||||
import { getPointerPosition } from '../utils';
|
||||
|
||||
@@ -51,7 +51,7 @@ type XYResizerParams = {
|
||||
};
|
||||
|
||||
type XYResizerUpdateParams = {
|
||||
controlPosition: XYResizerControlPosition;
|
||||
controlPosition: ControlPosition;
|
||||
boundries: {
|
||||
minWidth: number;
|
||||
minHeight: number;
|
||||
|
||||
Reference in New Issue
Block a user