UI: center floating popovers
authorCampbell Barton <ideasman42@gmail.com>
Wed, 20 Mar 2019 01:34:22 +0000 (12:34 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 20 Mar 2019 01:34:22 +0000 (12:34 +1100)
commit47ba487e05daf73018f7fd3af0a44d46228e9fd6
treea6a45f1b3a0b5e43648f504fc9f338865519b7ca
parent53f4fc7da9d4b7acd613430bfd0f97536cc164de
UI: center floating popovers

Tweak placement so useful items are more likely to be nearby,
centering horizontally and align vertically to the first button.
source/blender/editors/interface/interface_region_popover.c