Fix inconsistent collection/object hide icon brightness in outliner

Differential Revision: https://developer.blender.org/D4679
This commit is contained in:
Harley Acheson 2019-04-25 14:26:03 +02:00 committed by Brecht Van Lommel
parent eda7e84aac
commit 0d26bb7672
1 changed files with 3 additions and 3 deletions

View File

@ -902,7 +902,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
ICON_HIDE_OFF;
}
bt = uiDefIconBut(block,
UI_BTYPE_TOGGLE,
UI_BTYPE_ICON_TOGGLE,
0,
icon,
(int)(ar->v2d.cur.xmax - OL_TOG_RESTRICT_VIEWX),
@ -1014,7 +1014,7 @@ static void outliner_draw_userbuts(uiBlock *block, ARegion *ar, SpaceOutliner *s
tip = TIP_("Data-block has no users and will be deleted");
}
bt = uiDefIconButBitS(block,
UI_BTYPE_TOGGLE,
UI_BTYPE_ICON_TOGGLE,
LIB_FAKEUSER,
1,
icon,
@ -1049,7 +1049,7 @@ static void outliner_draw_userbuts(uiBlock *block, ARegion *ar, SpaceOutliner *s
UI_but_flag_enable(bt, but_flag);
bt = uiDefButBitS(block,
UI_BTYPE_TOGGLE,
UI_BTYPE_ICON_TOGGLE,
LIB_FAKEUSER,
1,
(id->flag & LIB_FAKEUSER) ? "F" : " ",