vitogit / vue-chessboard

Chessboard vue component to load positions, create positions and see threats
http://vitomd.com/vue-chessboard-examples/
GNU General Public License v3.0
165 stars 49 forks source link

Why do the chess pieces shrink to the top left corner? #46

Open only0322 opened 8 months ago

only0322 commented 8 months ago
<chessboard :onPromotion="promote" :free="ifFree" :orientation="boardColor" @onMove="getInfo"
                :fen="currentFen"/>
 async mounted() {
    if (location.protocol.indexOf('http') !== -1) {
      this.isDev = true
    }
    await this.getSetting()
    this.currentFen = this.openFen

  },

image

dont know how to fix it

only0322 commented 8 months ago

openFen is the default fen like "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"