mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
Added Padding.Empty
This commit is contained in:
parent
3fc635fb4d
commit
b30ec9408b
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue