diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-09-07 19:29:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-07 19:29:35 +0200 |
| commit | 98273652fd4442cb85b32b3c7b665580288d8cb4 (patch) | |
| tree | defbc13c67d0b7051b4e66852b663ea2fc426b6e /lib | |
| parent | ac34dde28354e4b2e76a5f4a29f9389813bd2767 (diff) | |
fix toggle visibility of first command in invisible group or layer (#2491)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/extensions/object_commands_toggle_visibility.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/object_commands_toggle_visibility.py b/lib/extensions/object_commands_toggle_visibility.py index 569f4305..e5d247e6 100644 --- a/lib/extensions/object_commands_toggle_visibility.py +++ b/lib/extensions/object_commands_toggle_visibility.py @@ -19,6 +19,6 @@ class ObjectCommandsToggleVisibility(InkstitchExtension): for command_group in command_groups: if first_iteration: first_iteration = False - if not command_group.is_visible(): + if command_group.style('display', 'inline') == 'none': display = "inline" command_group.style['display'] = display |
