GP: Change menu icons for hide/show

This commit is contained in:
Antonio Vazquez 2018-09-26 16:00:45 +02:00
parent 3378782eee
commit 150cba73c9
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()