You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
565 B

2 years ago
// @flow
import type {
DisplacementGroups,
DragImpact,
DisplacedBy,
LiftEffect,
} from '../types';
import { origin } from './position';
export const noDisplacedBy: DisplacedBy = {
point: origin,
value: 0,
};
export const emptyGroups: DisplacementGroups = {
invisible: {},
visible: {},
all: [],
};
const noImpact: DragImpact = {
displaced: emptyGroups,
displacedBy: noDisplacedBy,
at: null,
};
export default noImpact;
export const noAfterCritical: LiftEffect = {
inVirtualList: false,
effected: {},
displacedBy: noDisplacedBy,
};