Add option to keep original sprite sizes. Close #107

- Enabled by default
- [GUI] Added "Keep original sprite sizes" option to the Export options
- [CLI] Added "--sprite-cropping" option to the Advanced section
This commit is contained in:
VaDiM
2026-03-14 20:21:42 +03:00
parent 61d9bc8f15
commit 79d192ab70
10 changed files with 142 additions and 24 deletions
+12
View File
@@ -382,5 +382,17 @@ namespace AssetStudioGUI.Properties {
this["cachePath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool keepSpriteSize {
get {
return ((bool)(this["keepSpriteSize"]));
}
set {
this["keepSpriteSize"] = value;
}
}
}
}