Commit afaeba3c authored by gj4210's avatar gj4210 👽 Committed by janis.streib
Browse files

FIX: 404 error text moved too fast

parent 31bd3cde
......@@ -67,8 +67,8 @@ export default {
this.xspeed = this.baseSpeed * Math.sign(this.xspeed)
this.yspeed = this.baseSpeed * Math.sign(this.yspeed)
} else this.scoreR += 1
this.xspeed = this.baseSpeed * Math.sign(this.xspeed)
this.yspeed = this.baseSpeed * Math.sign(this.yspeed)
this.xspeed = this.baseSpeed * Math.sign(this.xspeed) + (this.xspeed - this.baseSpeed) / 2
this.yspeed = this.baseSpeed * Math.sign(this.yspeed) + (this.yspeed - this.baseSpeed) / 2
this.$nextTick(() => {
logo.style.left = '1px'
})
......@@ -90,8 +90,8 @@ export default {
this.xspeed = this.baseSpeed * Math.sign(this.xspeed)
this.yspeed = this.baseSpeed * Math.sign(this.yspeed)
} else this.scoreL += 1
this.xspeed = this.baseSpeed * Math.sign(this.xspeed)
this.yspeed = this.baseSpeed * Math.sign(this.yspeed)
this.xspeed = this.baseSpeed * Math.sign(this.xspeed) + (this.xspeed - this.baseSpeed) / 2
this.yspeed = this.baseSpeed * Math.sign(this.yspeed) + (this.yspeed - this.baseSpeed) / 2
this.$nextTick(() => {
logo.style.left = bounds_rect.width - logo_rect.width - 1 + 'px'
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment