Removed console.logs
This commit is contained in:
parent
45d081c225
commit
80355ea636
@ -766,7 +766,6 @@ export default class Card {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static _calculateCenterRelativeTo(target, image) {
|
static _calculateCenterRelativeTo(target, image) {
|
||||||
// console.log('_calculateCenterRelativeTo', target, image)
|
|
||||||
let bbox = image.getBBox()
|
let bbox = image.getBBox()
|
||||||
let width = bbox.width
|
let width = bbox.width
|
||||||
let height = bbox.height
|
let height = bbox.height
|
||||||
|
@ -213,7 +213,6 @@ export default class Highlight extends Object {
|
|||||||
image,
|
image,
|
||||||
})
|
})
|
||||||
let center = this._calculateCenterRelativeTo(target, image)
|
let center = this._calculateCenterRelativeTo(target, image)
|
||||||
console.log('_calculateCenterRelativeTo', center)
|
|
||||||
TweenLite.set(maskImage, {
|
TweenLite.set(maskImage, {
|
||||||
transformOrigin: `${center.x} ${center.y}`,
|
transformOrigin: `${center.x} ${center.y}`,
|
||||||
})
|
})
|
||||||
|
@ -158,7 +158,6 @@ export default class CardWrapper extends Object {
|
|||||||
tap(event, calledBy = 'unknown') {
|
tap(event, calledBy = 'unknown') {
|
||||||
if (event.isTrusted) {
|
if (event.isTrusted) {
|
||||||
let node = this.nearestActive(event)
|
let node = this.nearestActive(event)
|
||||||
console.log('tap', node)
|
|
||||||
this.nodeTapped(node, event)
|
this.nodeTapped(node, event)
|
||||||
|
|
||||||
/* let node = document.elementFromPoint(event.clientX, event.clientY)
|
/* let node = document.elementFromPoint(event.clientX, event.clientY)
|
||||||
|
Loading…
Reference in New Issue
Block a user