This commit is contained in:
2021-09-17 19:01:00 +00:00
parent 6c207939a7
commit fb25a7a4b0

View File

@@ -340,7 +340,7 @@ export default {
}, },
methods: { methods: {
startDrag({ event, timed }) { startDrag({ event, timed }) {
console.log("startDrag"); //console.log("startDrag");
if (event && timed) { if (event && timed) {
//My work around to disambiguate dragging and clicking //My work around to disambiguate dragging and clicking
clearTimeout(this.dragTimeout); clearTimeout(this.dragTimeout);
@@ -429,7 +429,7 @@ export default {
this.extendOriginal = null; this.extendOriginal = null;
}, },
cancelDrag() { cancelDrag() {
console.log("cancelDrag"); // console.log("cancelDrag");
if (this.createEvent) { if (this.createEvent) {
if (this.extendOriginal) { if (this.extendOriginal) {
this.createEvent.end = this.extendOriginal; this.createEvent.end = this.extendOriginal;
@@ -525,13 +525,11 @@ export default {
}); });
}, },
async showevInfo({ nativeEvent, event }) { async showevInfo({ nativeEvent, event }) {
console.log("showevInfo, dragged: ", this.dragged); //console.log("showevInfo, dragged: ", this.dragged);
//workaround to disambiguate drag click from view more info click //workaround to disambiguate drag click from view more info click
if (this.dragged) { if (this.dragged) {
return; return;
//e.preventDefault();
} }
//this.dragged = false; //this.dragged = false;
//console.log("showevInfo, dragevent is:", this.dragEvent); //console.log("showevInfo, dragevent is:", this.dragEvent);