monarch-initiative / phenogrid

The phenogrid widget
13 stars 14 forks source link

Disable mouseover event for cells and labels while dragging the minimap #219

Closed yuanzhou closed 8 years ago

yuanzhou commented 8 years ago

Noticed this interesting behavior today while I was dragging the shaded area in the mini map. If I the mouse is pressed while dragging and the crosshairs will be triggered when you drag randomly over the grid cells or labels. This also happened to the scrollbars dragging.

yuanzhou commented 8 years ago

It turned out that the random dragging (minimap, scrollbars) only triggers the appearance of crosshairs when the mouse also hover overs the grid cells and labels during dragging. Luckily, I only needed to remove those crosshairs during dragging.