Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-12 16:25:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-12 16:25:05 +0300
commit5aff20dfd51760574e748d48171da0e62d0a3841 (patch)
treea4ef5035e53f50d4621d97539c4420cf7e92aaa4 /release
parent415018778ccc53ccca37019c5eb88276a76c1fe8 (diff)
UI: add toggle fullscreen to window context menu
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 5129b5648ce..96ef2e51e60 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -563,6 +563,8 @@ class TOPBAR_MT_window_specials(Menu):
layout.operator("screen.area_dupli")
+ layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER')
+
layout.separator()
layout.operator("screen.area_split", text="Horizontal Split").direction = 'HORIZONTAL'