This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user