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>2014-01-27 12:10:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-27 12:11:37 +0400
commit029a7bbade920385a4852484cc19b138be8a9558 (patch)
tree212487f6f6146f73833dbb03cccc3da830ff2015 /release/scripts/modules/bpy_types.py
parenta71f072f9ccaae043069df1cbf95c169a60e494e (diff)
UI: Fix for icon-only menus too small click-able area
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index 0b9893cea51..031d079e5dc 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -760,9 +760,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta):
if context.area.show_menus:
cls.draw_menus(layout, context)
else:
- layout.separator()
layout.menu(cls.__name__, icon='COLLAPSEMENU')
- layout.separator()
class Region(StructRNA):