why does GUIDE ButtonDownFcn require mouse double-click?



Hi! I'm designing a GUI, and have defined my ButtonDownFcn for my axes. Theoretically, this function is supposed to be called whenever a (single) mouse click occurs within the axes space. However, my GUI requires a mouse double-click to activate the function (with only a single click, a crosshairs appears, centered at the mouse location).

Is this problem occurring due to some programming error of mine, or is it just a bug in the Matlab software? Is there any way that I can activate my ButtonDownFcn with only a single mouse click?




.