Skip to content

Commit

Permalink
Fix floating rabbits
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Mar 4, 2023
1 parent a8109b0 commit 8dbd68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/Rabbit.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = class Rabbit extends SimpleActor

draw: (ctx)->
ctx.save() # body center transform
ctx.translate(@width/2,@height/2)
ctx.translate(@width/2,@height)
ctx.fillStyle=@c2
# ctx.fillRect(0,0,@width,@height)
ctx.beginPath()
Expand Down

0 comments on commit 8dbd68a

Please sign in to comment.