Commit 6be48013 authored by quentin.vrel's avatar quentin.vrel

id correction on tiles

parent 4e81becb
<template>
<div class="tile">
<button class="tile-symbol" :id="this.id">
<button class="tile-symbol" :id="this.tile.idobject">
<img class="tile-background" :src="this.background" :width="this.width" :height="this.height"/>
<img class="tile-front" :src="this.svg" :width="this.width" :height="this.height"/>
</button>
......@@ -28,7 +28,6 @@ export default {
this.tile = new Tile(this.id);
this.background = require("@/assets/img/mahjong-tiles/Black/Front.svg");
this.svg = require("@/assets/img/mahjong-tiles/Black/"+ this.tile.getSVG());
this.id = this.tile.idobject;
console.log(this.svg);
}
}
......
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