Cleanup: remove intermediate menu drawing function

This commit is contained in:
2018-12-20 12:02:21 +11:00
parent dc3d9467f2
commit 6b7d03ac03
13 changed files with 15 additions and 56 deletions

View File

@@ -91,10 +91,7 @@ class TEXT_MT_editor_menus(Menu):
bl_label = ""
def draw(self, context):
self.draw_menus(self.layout, context)
@staticmethod
def draw_menus(layout, context):
layout = self.layout
st = context.space_data
text = st.text