Skip to content

Commit

Permalink
Bring back yarn.lock from master and add WA for some strange TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanblinov2k17 committed Jan 26, 2024
1 parent b715326 commit 8e1c794
Show file tree
Hide file tree
Showing 2 changed files with 5,195 additions and 6,127 deletions.
19 changes: 11 additions & 8 deletions packages/dx-scheduler-core/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,17 @@ export const getAppointmentStyle: PureComputed<
> = ({
top, left,
width, height,
}) => ({
height,
width: `${width}%`,
transform: `translateY(${top}px)`,
msTransform: `translateY(${top}px)`,
left: `${left}%`,
position: 'absolute',
});
}) => {
const transform = `translateY(${top}px)` as any;
return ({
height,
width: `${width}%`,
transform,
msTransform: transform,
left: `${left}%`,
position: 'absolute',
});
};

const expandRecurrenceAppointment = (
appointment: AppointmentMoment, leftBound: Date, rightBound: Date,
Expand Down
Loading

0 comments on commit 8e1c794

Please sign in to comment.