Updated eslint.
This commit is contained in:
Vendored
+3
-4
@@ -3789,13 +3789,13 @@
|
||||
}
|
||||
|
||||
onEnd(event, interaction) {
|
||||
console.log("Scatter.onEnd", this.dragging);
|
||||
console.log('Scatter.onEnd', this.dragging);
|
||||
if (interaction.isFinished()) {
|
||||
this.endGesture(interaction);
|
||||
this.dragging = false;
|
||||
for (let key of interaction.ended.keys()) {
|
||||
if (interaction.isTap(key)) {
|
||||
console.log("Scatter.isTap");
|
||||
console.log('Scatter.isTap');
|
||||
let point = interaction.ended.get(key);
|
||||
this.onTap(event, interaction, point);
|
||||
}
|
||||
@@ -3823,14 +3823,13 @@
|
||||
//onTap(event, interaction, point) {}
|
||||
|
||||
onTap(event, interaction, point) {
|
||||
console.log("AbstractScatter.onTap", this.tapDelegate, interaction);
|
||||
console.log('AbstractScatter.onTap', this.tapDelegate, interaction);
|
||||
if (this.tapDelegate) {
|
||||
Events.stop(event);
|
||||
this.tapDelegate.tap(event, 'scatter');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
onDragUpdate(delta) {
|
||||
if (this.onTransform != null) {
|
||||
let event = new ScatterEvent(this, {
|
||||
|
||||
Vendored
+4
-5
@@ -2864,7 +2864,7 @@
|
||||
hide() {
|
||||
this.opts.strokeAlpha = 0.0;
|
||||
this.opts.strokeActiveAlpha = 0.0;
|
||||
this.opts.fillAlpha = 0.0000000001; // WORKAROUND: See https://github.com/pixijs/pixi.js/wiki/v5-Migration-Guide#graphics-interaction
|
||||
this.opts.fillAlpha = 0.0000000001; // WORKAROUND: See https://github.com/pixijs/pixi.js/wiki/v5-Migration-Guide#graphics-interaction
|
||||
this.opts.fillActiveAlpha = 0.0000000001;
|
||||
|
||||
this.layout();
|
||||
@@ -7409,13 +7409,13 @@
|
||||
}
|
||||
|
||||
onEnd(event, interaction) {
|
||||
console.log("Scatter.onEnd", this.dragging);
|
||||
console.log('Scatter.onEnd', this.dragging);
|
||||
if (interaction.isFinished()) {
|
||||
this.endGesture(interaction);
|
||||
this.dragging = false;
|
||||
for (let key of interaction.ended.keys()) {
|
||||
if (interaction.isTap(key)) {
|
||||
console.log("Scatter.isTap");
|
||||
console.log('Scatter.isTap');
|
||||
let point = interaction.ended.get(key);
|
||||
this.onTap(event, interaction, point);
|
||||
}
|
||||
@@ -7443,14 +7443,13 @@
|
||||
//onTap(event, interaction, point) {}
|
||||
|
||||
onTap(event, interaction, point) {
|
||||
console.log("AbstractScatter.onTap", this.tapDelegate, interaction);
|
||||
console.log('AbstractScatter.onTap', this.tapDelegate, interaction);
|
||||
if (this.tapDelegate) {
|
||||
Events$1.stop(event);
|
||||
this.tapDelegate.tap(event, 'scatter');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
onDragUpdate(delta) {
|
||||
if (this.onTransform != null) {
|
||||
let event = new ScatterEvent(this, {
|
||||
|
||||
Reference in New Issue
Block a user