mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-06 01:56:28 +02:00
Debug drag and drop on BoardCanvas
This commit is contained in:
parent
5871ba3889
commit
aa6ec0ea60
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ void BoardCanvas::MouseEvent(wxMouseEvent &event) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.LeftDown() || event.RightDown()) {
|
||||
if ((event.LeftDown() || event.RightDown()) && !is_dragging) {
|
||||
// Start dragging (either piece or arrows drawing)
|
||||
SetFocus();
|
||||
REFRESH_MOUSE_LOCATION();
|
||||
|
|
Loading…
Add table
Reference in a new issue