diff options
-rw-r--r-- | release/scripts/startup/bl_ui/properties_mask_common.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py index a19f42584bb..b98332fab19 100644 --- a/release/scripts/startup/bl_ui/properties_mask_common.py +++ b/release/scripts/startup/bl_ui/properties_mask_common.py @@ -220,15 +220,14 @@ class MASK_PT_display(): layout = self.layout space_data = context.space_data - col = layout.column(align=True) - row = col.row(align=True) + row = layout.row(align=True) row.prop(space_data, "show_mask_smooth", text="Smooth") row.prop(space_data, "mask_draw_type", text="") - col = layout.column(align=True) - row = col.row(align=True) + row = layout.row(align=True) row.prop(space_data, "show_mask_overlay", text="Overlay") - row.active = space_data.show_mask_overlay - row.prop(space_data, "mask_overlay_mode", text="") + sub = row.row() + sub.active = space_data.show_mask_overlay + sub.prop(space_data, "mask_overlay_mode", text="") class MASK_PT_transforms(): |