Resize shadow doesn't match event time
4 years ago.
My event goes from 22-10-2021 13:00 to 26-10-2021 11:00.
When I resize the event, the shadow fills the entire cells instead of half but when i stop resizing the event fits correctly. Why this is happening?
onEventResizing: function (args) {
console.log(args.start)
console.log(args.end)
switch (args.what) {
case 'start':
args.start = args.start.addHours(-11)
args.multiresize[0].start = args.multiresize[0].start.addHours(-11)
console.log("Start:" + args.multiresize[0].start)
break;
case 'end':
args.end = args.end.addHours(-13)
args.multiresize[0].end = args.multiresize[0].end.addHours(-13)
console.log("End:" + args.multiresize[0].end)
break;
}
},
DayPilot