forked from bartvdbraak/blender
Editors UI:
* Add "Toggle Full Screen" and "Duplicate Area into New Window" operators to the view menu, was missing in those 2 operators. Patch [#33076] by Harley Acheson, thanks. * Also moved those two operators to the top in text editor, for consistency.
This commit is contained in:
parent
35c6e592e3
commit
83b5d7d2cd
@ -107,5 +107,10 @@ class LOGIC_MT_view(Menu):
|
||||
|
||||
layout.operator("logic.properties", icon='MENU_PANEL')
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.area_dupli")
|
||||
layout.operator("screen.screen_full_area")
|
||||
|
||||
if __name__ == "__main__": # only for live edit.
|
||||
bpy.utils.register_module(__name__)
|
||||
|
@ -154,12 +154,7 @@ class TEXT_MT_view(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("text.properties", icon='MENU_PANEL')
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.area_dupli")
|
||||
layout.operator("screen.screen_full_area")
|
||||
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("text.move",
|
||||
@ -169,6 +164,11 @@ class TEXT_MT_view(Menu):
|
||||
text="Bottom of File",
|
||||
).type = 'FILE_BOTTOM'
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.area_dupli")
|
||||
layout.operator("screen.screen_full_area")
|
||||
|
||||
|
||||
class TEXT_MT_text(Menu):
|
||||
bl_label = "Text"
|
||||
|
@ -127,6 +127,11 @@ class TIME_MT_view(Menu):
|
||||
|
||||
layout.operator("marker.camera_bind")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.area_dupli")
|
||||
layout.operator("screen.screen_full_area")
|
||||
|
||||
|
||||
class TIME_MT_cache(Menu):
|
||||
bl_label = "Cache"
|
||||
|
Loading…
Reference in New Issue
Block a user