For my latest game confusing lands i use a block square matrix for placing cards Iwould like to use scrollmap also, but that does not seem to work in combination wiht begin_block routines ?)
I added a dojo onclick listener to each square for placing a card on it.
The active card also has arrow to move the card to adjesent squares, also add with a dojo onclickon each arrow after placing the card in the square.
(See attachment for clarification)
But when i click and arrow the first click always is captured by the underlaying sqaure and only the second click is registered in the callback function of the arrow.
Does anybody have a good explaination why this is the case?
Or a solution would even be better i guess
Any help is appriciated.
I added a dojo onclick listener to each square for placing a card on it.
The active card also has arrow to move the card to adjesent squares, also add with a dojo onclickon each arrow after placing the card in the square.
(See attachment for clarification)
But when i click and arrow the first click always is captured by the underlaying sqaure and only the second click is registered in the callback function of the arrow.
Does anybody have a good explaination why this is the case?
Or a solution would even be better i guess
Any help is appriciated.