Коммит 3d337203 создал по автору Anton Medvedev's avatar Anton Medvedev
Просмотр файлов

Merge branch 'phaser' into 'main'

#25

See merge request LaVey/universo-monorepo!4
владельцы 0d77d070 352b03b8
...@@ -117,7 +117,7 @@ class Board { ...@@ -117,7 +117,7 @@ class Board {
this.lines.push(line); this.lines.push(line);
} }
} }
//
this.scene.input.on('pointermove', (pointer: Phaser.Input.Pointer) => { this.scene.input.on('pointermove', (pointer: Phaser.Input.Pointer) => {
if (this.selectedCard) { if (this.selectedCard) {
this.selectedCard.setPosition(pointer.x - this.cardOffsetX, pointer.y - this.cardOffsetY); this.selectedCard.setPosition(pointer.x - this.cardOffsetX, pointer.y - this.cardOffsetY);
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать