hittest no longer works in 2015a with impoly
2 views (last 30 days)
I had developed some code that works fine in version 2013 but not in 2015a.
My code allowed the user to draw a polygon using impoly and associate this polygon with some text (that I added using the "text" function and placed in the center of the polygon). I was annoyed to find that if the user wanted to move the polygon, they had to avoid clicking on the text since doing so would effectively block the call to the underlying polygon. HOWEVER... this was easily solved by setting the "hittest" property of text object" to "off". It worked GREAT! Until..... a new version of Matlab was released (not sure which one) but now my workaround no longer works! To be clear: executing the code below works fine in version 2013 (you can click on the word "DOH" and dragging it causes the polygon to move as well) but not in 2015.