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>2017-11-02 07:52:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-11-02 07:52:16 +0300
commitd2e39edae8d5c6c2062b0a03f63b33e007c4d5b2 (patch)
tree377620dcb823d8e74d8cbe2a9814dd59d21187a0 /release
parent4a85089abe6d5abb9f6bb0d8255eba33dc030fcb (diff)
UI: draw active tool pushed in
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index bab25c3450b..1dade5b6735 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -105,10 +105,10 @@ class ToolSelectPanelHelper:
for tool_items in self.tools_from_context(context):
if tool_items:
- col = layout.box().column()
+ col = layout.column(align=True)
for item in tool_items:
if item is None:
- col = layout.box().column()
+ col = layout.column(align=True)
continue
text, mp_idname, actions = item
@@ -121,7 +121,7 @@ class ToolSelectPanelHelper:
props = col.operator(
"wm.tool_set",
text=text,
- emboss=(
+ depress=(
km_idname_active == km_idname and
mp_idname_active == mp_idname
),