forked from bartvdbraak/blender
UI: Add copy/paste icons to Graph and Dopesheet editor context menus
Consistent with others
This commit is contained in:
parent
0c0254018c
commit
9b4a57f74c
@ -565,9 +565,9 @@ class DOPESHEET_MT_context_menu(Menu):
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("action.copy", text="Copy")
|
||||
layout.operator("action.paste", text="Paste")
|
||||
layout.operator("action.paste", text="Paste Flipped").flipped = True
|
||||
layout.operator("action.copy", text="Copy", icon='COPYDOWN')
|
||||
layout.operator("action.paste", text="Paste", icon='PASTEDOWN')
|
||||
layout.operator("action.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
@ -328,9 +328,9 @@ class GRAPH_MT_context_menu(Menu):
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("graph.copy", text="Copy")
|
||||
layout.operator("graph.paste", text="Paste")
|
||||
layout.operator("graph.paste", text="Paste Flipped").flipped = True
|
||||
layout.operator("graph.copy", text="Copy", icon='COPYDOWN')
|
||||
layout.operator("graph.paste", text="Paste", icon='PASTEDOWN')
|
||||
layout.operator("graph.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user