diff --git a/src/app/core/base/layer.ts b/src/app/core/base/layer.ts index 9a28b51..83b09b1 100644 --- a/src/app/core/base/layer.ts +++ b/src/app/core/base/layer.ts @@ -81,9 +81,6 @@ export abstract class Layer extends OffscreenCanvas { dragTo(point: Vector2) { if (this.dragging) { - console.log(point) - console.log(this.offset) - this.position.copy(point).sub(this.offset) } } diff --git a/src/app/elements/menu/menu.ts b/src/app/elements/menu/menu.ts index 795c14f..1515258 100644 --- a/src/app/elements/menu/menu.ts +++ b/src/app/elements/menu/menu.ts @@ -22,8 +22,6 @@ export class Menu extends HTMLMenuElement { this.context.style.left = pageX + 'px' this.context.style.top = pageY + 'px' - console.log(this.context.style.display) - if (this.context.style.display === 'none') { this.context.style.display = 'block' } diff --git a/src/app/store/sponsor/sponsor.selected.ts b/src/app/store/sponsor/sponsor.selected.ts index 3112203..a1208f6 100644 --- a/src/app/store/sponsor/sponsor.selected.ts +++ b/src/app/store/sponsor/sponsor.selected.ts @@ -24,17 +24,6 @@ onSponsorSelected((file) => { const offset = config.sponsor.w * layer.sponsors.length - console.table([ - {ref: 'dimension', width: dimension.width, height: dimension.height}, - {ref: 'center', width: center.width, height: center.height}, - {ref: 'offset', width: offset}, - { - ref: 'result', - width: config.sponsor.x + center.width + offset, - height: config.sponsor.y + center.height, - }, - ]) - const sponsor = new ImageLayer( config.sponsor.x + center.width + offset, config.sponsor.y + center.height,