1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 22:18:34 +01: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 - Cache TokenizedString inner offsets for non-Left text alignments to improve performance
- Exposed Camera's RoundPosition - Exposed Camera's RoundPosition
- Exposed the epsilon value used by Camera - Exposed the epsilon value used by Camera
- Added Padding.Empty
### MLEM.Ui ### MLEM.Ui
Additions Additions

View file

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