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:
authorPablo Vazquez <pablovazquez>2021-11-04 17:31:48 +0300
committerPablo Vazquez <pablo@blender.org>2021-11-04 17:31:48 +0300
commit9e71a07547380db131a817f2af9177e95a6c622a (patch)
treed201e2289e028feb04bf505188b239b0b47afad4 /release/datafiles/userdef
parentbe4478d1f8b6c75b50c951f02cf0116f78e68d6d (diff)
UI: Fix UIList item using "regular" widget colors while edited
Simply removing the check for `UI_STATE_TEXT_INPUT` makes it inherit the "List Item" User Interface theme settings. This patch changes the default theme to match the colors of text input fields. #### Master {F11680556, size=full} #### This patch {F11680557, size=full} All the included commmunity themes seem to work well (only Deep Grey might need more contrast but that's a different patch). Related reports: T92720 Reviewed By: #user_interface, Severin Maniphest Tasks: T92720 Differential Revision: https://developer.blender.org/D13073
Diffstat (limited to 'release/datafiles/userdef')
-rw-r--r--release/datafiles/userdef/userdef_default_theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c
index f33ecea0eed..fc489abace8 100644
--- a/release/datafiles/userdef/userdef_default_theme.c
+++ b/release/datafiles/userdef/userdef_default_theme.c
@@ -187,7 +187,7 @@ const bTheme U_theme_default = {
.outline = RGBA(0x2d2d2dff),
.inner = RGBA(0x2d2d2d00),
.inner_sel = RGBA(0x484a4fff),
- .item = RGBA(0xb3b3b3ff),
+ .item = RGBA(0x4772b3ff),
.text = RGBA(0xccccccff),
.text_sel = RGBA(0xffffffff),
.roundness = 0.2f,