UI: Theme: Allow transparency when editing text in widgets #112090

Merged
Pablo Vazquez merged 1 commits from pablovazquez/blender:ui-widgets-list-item-transparency into main 2023-09-14 19:28:38 +02:00

1 Commits

Author SHA1 Message Date
Pablo Vazquez 9b588d43cd UI: Theme: Allow transparency when editing text in widgets
The 'inner' color in widgets is used as background for selected text.

The color setting supports alpha but it's not used.

This patch moves the clearing of `GPU_blend` after drawing both the
text and background colors so alpha is now supported for these.
2023-09-07 17:19:04 +02:00