Page MenuHome

UI: Popover arrows are clipped
ClosedPublic

Authored by Yevgeny Makarov (jenkm) on Sep 28 2020, 12:37 AM.

Details

Summary

UI: Popover arrows are clipped.

This came out after changes in T65351, rBfe3ce615287a.

The clipping can be corrected this way:
https://developer.blender.org/D9030?id=29434
but I'm not sure if there are any side effects.

So I just slightly increased the value of UI_POPUP_MENU_TOP,
but perhaps there is a smarter solution that only affects this arrows.

Diff Detail

Repository
rB Blender

Event Timeline

Yevgeny Makarov (jenkm) requested review of this revision.Sep 28 2020, 12:37 AM
Yevgeny Makarov (jenkm) created this revision.

Hi, can you please use arc diff? This way we can see the context code around it.

I haven't tried the patch, but I'm surprised this is not margin + UI_POPUP_MENU_TOP.

Changed the value of UI_POPUP_MENU_TOP.
Probably this is more correct (although the previous one also worked for me).

Perhaps there is another solution that affects only the popover arrows.

This revision is now accepted and ready to land.Oct 20 2020, 6:31 PM
This revision was automatically updated to reflect the committed changes.