Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
only0322 opened this issue Jan 10, 2024 · 1 comment
Open

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

only0322 opened this issue Jan 10, 2024 · 1 comment

Comments

@only0322
Copy link

<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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant