Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-10-02 21:10:21 +0300
committerHans Goudey <h.goudey@me.com>2020-10-02 21:10:21 +0300
commit933bf62a611f61bd61e3e7745ce6dea58f571e72 (patch)
tree671de906d3acbea69f32428899bbeb64a009d45c /source/blender/editors/interface/interface_panel.c
parent6f96dd85766a8159d5ffb761cbb4dbd20b7cad00 (diff)
Property Search: Differentiate search filtered and inactive buttons
Currently there's no way to know if a button is inactive when it doesn't match the search results, because they use the same 50% gray level. This isn't a huge problem, but it could lead to confusion. This commit uses a subtle solution, a 25% opacity when the button is inactive and also filtered by search. This requires flipping the meaning of the UI_SEARCH_FILTER_MATCHES flag in the code, and also adding a widget_alpha_factor utility in the widget code. Differential Revision: https://developer.blender.org/D8975
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
0 files changed, 0 insertions, 0 deletions