clarify which NumberSize to use
This commit is contained in:
parent
9b0eeae2eb
commit
b2abe61fc5
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||||
e: MouseEvent | TouchEvent,
|
e: MouseEvent | TouchEvent,
|
||||||
travelDirection: Direction,
|
travelDirection: Direction,
|
||||||
refToElement: HTMLDivElement,
|
refToElement: HTMLDivElement,
|
||||||
delta: { width: number, height: number }, // TODO: Use NumberSize from re-resizer when it is exposed
|
delta: { width: number, height: number }, // TODO: Use re-resizer's NumberSize when it is exposed as the type
|
||||||
) => {
|
) => {
|
||||||
// Do some sanity checks, but in reality we shouldn't need these.
|
// Do some sanity checks, but in reality we shouldn't need these.
|
||||||
if (travelDirection !== "bottom") return;
|
if (travelDirection !== "bottom") return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue