This commit is contained in:
2021-10-07 00:10:33 +00:00
parent 47831f9be1
commit d106e9d44a
2 changed files with 13 additions and 14 deletions

View File

@@ -640,6 +640,12 @@ export default {
return elapsed < 200;
},
mouseMoveDayView(tms) {
//Vuetify bug in calendar apparently where it fires for both day and day-category views
//since I set them to both call into this same method I need to ignore the incorrect one
if (!tms.category && this.viewType == "category") {
return;
}
console.log("mousing", tms.category);
//no event being dragged or exgtended?
if (!this.dragEvent && !this.extendEvent) {
return;
@@ -647,6 +653,7 @@ export default {
const mouse = this.toTime(tms);
if (this.dragEvent && this.dragTime !== null) {
console.log("dragging, category:", tms.category);
//# DRAGGING PATH
const start = this.dragEvent.start;
const end = this.dragEvent.end;