From c4622fa5632781c9864907934a4fcacb3e593e16 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Thu, 4 Jan 2024 17:48:58 -0600 Subject: [PATCH] Make action adjust its indention when renamed --- lib/pages/editor.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/pages/editor.rb b/lib/pages/editor.rb index 9706f74..1f85c97 100644 --- a/lib/pages/editor.rb +++ b/lib/pages/editor.rb @@ -396,6 +396,12 @@ module TAC comment_label.value = comment.to_s end + if action_is_child?(action) + action_container.style.default[:margin_left] = 72 + else + action_container.style.default[:margin_left] = 0 + end + action_container.style.tag = name update_list_children(@actions_list)