Fixed eslint problems

This commit is contained in:
Uwe Oestermeier 2019-07-02 10:06:23 +02:00
parent 1480ad8145
commit 8a4f64f545
1 changed files with 53 additions and 51 deletions

View File

@ -1,3 +1,4 @@
/* global PIXI TweenLite */
import Theme from './theme.js'
import Tooltip from './tooltip.js'
import Badge from './badge.js'
@ -244,6 +245,7 @@ export default class Button extends PIXI.Container {
TweenLite.to([this.button, this.content], this.theme.fast, { alpha: 1, overwrite: 'none' })
})
// eslint-disable-next-line no-unused-vars
this.button.on('pointerdown', e => {
//this.capture(e)
TweenLite.to([this.button, this.content], this.theme.fast, { alpha: .7, overwrite: 'none' })