Page MenuHome

Fix T90364: buttons (partially) behind animchannel search block search
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Aug 2 2021, 2:18 PM.

Details

Summary

When channels are scrolled to be (partially) behind the search bar,
their widget buttons would still be interactive, preventing the seach
buttons to be usable.

We have to make sure the events are consumed from the search and dont
reach other UI blocks.
We can do so by flagging the block UI_BLOCK_CLIP_EVENTS -- but also
have to make sure the bounds are calculated correctly (otherwise the
check relating UI_BLOCK_CLIP_EVENTS in ui_but_find_mouse_over_ex wont
trigger properly.

Diff Detail

Repository
rB Blender
Branch
T90364 (branched from master)
Build Status
Buildable 16165
Build 16165: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Aug 2 2021, 2:18 PM
Philipp Oeser (lichtwerk) created this revision.
This revision is now accepted and ready to land.Aug 3 2021, 11:51 AM
Campbell Barton (campbellbarton) added inline comments.
source/blender/editors/animation/time_scrub_ui.c
247

This could use a short comment regarding why it's needed.