Cleanup: remove unnecessary icon assignment
This commit is contained in:
parent
d99ec7ff9e
commit
7347252f0f
|
@ -355,8 +355,7 @@ class GPENCIL_UL_annotation_layer(UIList):
|
|||
|
||||
row = layout.row(align=True)
|
||||
|
||||
icon_xray = 'XRAY' if gpl.show_in_front else 'FACESEL'
|
||||
row.prop(gpl, "show_in_front", text="", icon=icon_xray, emboss=False)
|
||||
row.prop(gpl, "show_in_front", text="", icon='XRAY' if gpl.show_in_front else 'FACESEL', emboss=False)
|
||||
|
||||
row.prop(gpl, "annotation_hide", text="", emboss=False)
|
||||
elif self.layout_type == 'GRID':
|
||||
|
|
Loading…
Reference in New Issue