[Bf-blender-cvs] [d2e39edae8d] blender2.8: UI: draw active tool pushed in
Campbell Barton
noreply at git.blender.org
Thu Nov 2 08:17:40 CET 2017
Commit: d2e39edae8d5c6c2062b0a03f63b33e007c4d5b2
Author: Campbell Barton
Date: Thu Nov 2 15:52:16 2017 +1100
Branches: blender2.8
https://developer.blender.org/rBd2e39edae8d5c6c2062b0a03f63b33e007c4d5b2
UI: draw active tool pushed in
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_common.py
===================================================================
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
),
More information about the Bf-blender-cvs
mailing list