mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-18 10:51:54 +02:00
clarify which NumberSize to use
This commit is contained in:
parent
9b0eeae2eb
commit
b2abe61fc5
@ -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…
x
Reference in New Issue
Block a user