diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-10-17 19:34:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-17 19:34:58 +0200 |
| commit | 2e648eb1fb09a20eb31ebb140cbbcbeb549206f3 (patch) | |
| tree | 3d381e62f1423a6a736270adafcf29712a095049 /templates/cleanup.xml | |
| parent | 58b2e971d37adf6d9308ca89ea033385dd1ded13 (diff) | |
Cleanup document: add option to remove empty groups/layers (#2552)
* cleanup document: add options to remove empty groups/layers
* cleanup document: add test run option
Diffstat (limited to 'templates/cleanup.xml')
| -rw-r--r-- | templates/cleanup.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/cleanup.xml b/templates/cleanup.xml index ad594293..52e01185 100644 --- a/templates/cleanup.xml +++ b/templates/cleanup.xml @@ -9,6 +9,12 @@ <param name="rm_stroke" type="boolean" gui-text="Remove Small strokes" gui-description="Removes small strokes shorter than defined by threshold.">true</param> <param name="stroke_threshold" type="int" gui-text="Stroke threshold (px)" min="2" max="800">5</param> + <param name="rm_groups" type="boolean" gui-text="Remove empty layers and groups">true</param> + <spacer /> + <separator /> + <spacer /> + <param name="dry_run" type="boolean" gui-text="Test run" + gui-description="Only display labels and ids of affected elements and groups without removing them.">true</param> <param name="extension" type="string" gui-hidden="true">cleanup</param> <effect> <object-type>all</object-type> |
