DescriptionThe "clickhide-show-dialog" message is sent along with the coordinates of the mouse event. However, those coordinates are ignored in clickHide_showDialog() since as far as our change history reaches back.
It seems that the original idea was to show the dialog at the position you clicked. However, the logic calculating the absolute position is incorrect anyway, which might be the reason the original author ignored those coordinates but forgot to remove the dead code when initially writing that code. Moreover, this seems like a bad idea to me anyway. What's the point of making sure that the dialog will (partly) overlap the selected element.
Patch Set 1 #
MessagesTotal messages: 3
|