1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-10 11:28:44 +02:00

Added Padding.Empty

This commit is contained in:
Ell 2021-11-18 10:58:50 +01:00
parent 3fc635fb4d
commit b30ec9408b
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,7 @@ Improvements
- Cache TokenizedString inner offsets for non-Left text alignments to improve performance
- Exposed Camera's RoundPosition
- Exposed the epsilon value used by Camera
- Added Padding.Empty
### MLEM.Ui
Additions

View file

@ -9,6 +9,11 @@ namespace MLEM.Misc {
[DataContract]
public struct Padding {
/// <summary>
/// The empty padding, with all borders set to 0
/// </summary>
public static Padding Empty => default;
/// <summary>
/// The amount of padding on the left side
/// </summary>