Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions RimeWithWeasel/RimeWithWeasel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,8 @@ static Bool _RimeGetColor(RimeConfig* config,
if (!rime_api->config_get_int(config, key.c_str(), &tmp)) {
value = fallback;
return False;
}
} else
value = tmp;
make_opaque(value);
}
value = ConvertColorToAbgr(value, fmt);
Expand Down Expand Up @@ -1377,7 +1378,8 @@ static bool _UpdateUIStyleColor(RimeConfig* config,
COLOR("label_color", style.label_text_color,
blend_colors(style.candidate_text_color, style.candidate_back_color));
COLOR("hilited_label_color", style.hilited_label_text_color,
blend_colors(style.candidate_text_color, style.candidate_back_color));
blend_colors(style.hilited_candidate_text_color,
style.hilited_candidate_back_color));
COLOR("comment_text_color", style.comment_text_color,
style.label_text_color);
COLOR("hilited_comment_text_color", style.hilited_comment_text_color,
Expand Down
Loading