StansAssets / com.stansassets.marking-menu

Open source product allows configure scene view, to access to the context menu in the Editor
http://stansassets.com
1 stars 0 forks source link

fix: fixed angle highlight (#5) #8

Closed Yurii-Tor closed 3 years ago

Yurii-Tor commented 3 years ago

Purpose of this PR

Angle highlight fixed. The idea of this fix lays on extending selection area of VisualElement.ContainsPoins(Vector2) method, which is used to determine whether OnMouseOver event shoukd be fired

Testing status

No Unit tests

Manual testing status

Tested via Unity Editor

<img src="https://d6pdqlw297isz.cloudfront.net/t/v1uYpj7g/w0-h400-playicon0/p400.p0.n0.cdn.getcloudapp.com/items/v1uYpj7g/7eb5603a-29cf-44cd-96fb-e29a133b5eeb.mp4?source=thumbnail" alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" />