alexobviously / squares

A flexible chessboard widget for Flutter
https://pub.dev/packages/squares
Other
37 stars 15 forks source link

Allow pre-moves with drag gesture and not only tap gesture. #16

Closed Bolling88 closed 1 year ago

Bolling88 commented 1 year ago

As the title states, it would be nice if we could add pre-moves with drag gestures and not only tap gestures.

alexobviously commented 1 year ago

Sure, that's a good idea. I'll take a look tomorrow and see what this would involve.

alexobviously commented 1 year ago

Hey @Bolling88, actually premoves with dragging already works lol. I don't know why I thought that wasn't the case but yeah premoves from dragging using BoardController has been in since at least 1.0.0. If you can't make premoves with dragging then it's definitely a bug, can you check again?

edit: I just checked and your fork is still on 0.4.0 which is over a year old, so if you're using that you should update

alexobviously commented 1 year ago

@Bolling88 I'm going to close this, let me know if you have any problems after updating