Skip to content

Commit

Permalink
style: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed Aug 17, 2024
1 parent 3859c39 commit de73ad4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions src/app/core/base/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/app/elements/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
11 changes: 0 additions & 11 deletions src/app/store/sponsor/sponsor.selected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit de73ad4

Please sign in to comment.