Some notes on behaviour: - this should only trigger the opening of neighbours if the number of adjacent flags is equal to the cell's number, AND - this should trigger if both left and right mouse buttons are down and one of them is let go - this is still valid if both left and right leave the intended CellIcon and return over it again Rough plan: - record left/right is down upon mouse press - record left/right is up upon mouse leave - record left/right is down upon mouse enter if it is still down - trigger open surrounding upon left/right release if the other is still down
Some notes on behaviour:
this should only trigger the opening of neighbours if the number of adjacent flags is equal to the cell's number, AND
this should trigger if both left and right mouse buttons are down and one of them is let go
this is still valid if both left and right leave the intended CellIcon and return over it again
Rough plan: