Skip to content

Commit

Permalink
scorelayer can display fairy in tile bonus
Browse files Browse the repository at this point in the history
  • Loading branch information
farin committed Jan 16, 2021
1 parent 35eb329 commit 994d71d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/components/game/layers/ScoreLayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export default {
if (Array.isArray(ptr)) {
return this.transformPosition(ptr) + 'translate(500 500)'
}
if (ptr.position && !ptr.location) {
return this.transformPosition(ptr.position) + 'translate(500 500)'
}
return this.transformPoint(ptr)
},
Expand Down

0 comments on commit 994d71d

Please sign in to comment.