Skip to content

Commit

Permalink
fix default avatars blending with background in dark and light themes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudoko committed Mar 6, 2015
1 parent f3f2373 commit 41a4bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static void drawself(void)
if (self_has_avatar()) {
draw_avatar_image(self.avatar.image, SELF_AVATAR_X, SELF_AVATAR_Y, self.avatar.width, self.avatar.height, BM_CONTACT_WIDTH, BM_CONTACT_WIDTH);
} else {
drawalpha(BM_CONTACT, SELF_AVATAR_X, SELF_AVATAR_Y, BM_CONTACT_WIDTH, BM_CONTACT_WIDTH, COLOR_MAIN_BACKGROUND);
drawalpha(BM_CONTACT, SELF_AVATAR_X, SELF_AVATAR_Y, BM_CONTACT_WIDTH, BM_CONTACT_WIDTH, COLOR_LIST_TEXT);
}

drawalpha(BM_STATUSAREA, SELF_STATUS_X, SELF_STATUS_Y, BM_STATUSAREA_WIDTH, BM_STATUSAREA_HEIGHT, button_status.mouseover ? COLOR_LIST_HOVER_BACKGROUND : COLOR_LIST_BACKGROUND);
Expand Down

0 comments on commit 41a4bb9

Please sign in to comment.