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: {
startDrag({ event, timed }) {
console.log("startDrag");
//console.log("startDrag");
if (event && timed) {
//My work around to disambiguate dragging and clicking
clearTimeout(this.dragTimeout);
@@ -429,7 +429,7 @@ export default {
this.extendOriginal = null;
},
cancelDrag() {
console.log("cancelDrag");
// console.log("cancelDrag");
if (this.createEvent) {
if (this.extendOriginal) {
this.createEvent.end = this.extendOriginal;
@@ -525,13 +525,11 @@ export default {
});
},
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
if (this.dragged) {
return;
//e.preventDefault();
}
//this.dragged = false;
//console.log("showevInfo, dragevent is:", this.dragEvent);