GP: Change menu icons for hide/show
This commit is contained in:
parent
3378782eee
commit
150cba73c9
|
@ -77,8 +77,8 @@ class GPENCIL_MT_layer_specials(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.reveal", icon='RESTRICT_VIEW_OFF', text="Show All")
|
||||
layout.operator("gpencil.hide", icon='RESTRICT_VIEW_ON', text="Hide Others").unselected = True
|
||||
layout.operator("gpencil.reveal", icon='HIDE_OFF', text="Show All")
|
||||
layout.operator("gpencil.hide", icon='HIDE_ON', text="Hide Others").unselected = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ class GPENCIL_MT_color_specials(Menu):
|
|||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("gpencil.color_reveal", icon='RESTRICT_VIEW_OFF', text="Show All")
|
||||
layout.operator("gpencil.color_hide", icon='RESTRICT_VIEW_ON', text="Hide Others").unselected = True
|
||||
layout.operator("gpencil.color_reveal", icon='HIDE_OFF', text="Show All")
|
||||
layout.operator("gpencil.color_hide", icon='HIDE_ON', text="Hide Others").unselected = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
|
Loading…
Reference in New Issue