mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-24 21:48:35 +01:00
Compare commits
No commits in common. "b30ec9408bb855df9d6750d5f92e2da2149f3e42" and "a59f1eb8af6b1eb7080427bb6226f494306b98cd" have entirely different histories.
b30ec9408b
...
a59f1eb8af
2 changed files with 12 additions and 18 deletions
25
CHANGELOG.md
25
CHANGELOG.md
|
@ -1,5 +1,5 @@
|
|||
# Changelog
|
||||
MLEM tries to adhere to [semantic versioning](https://semver.org/). Breaking changes are written in *italics*.
|
||||
MLEM tries to adhere to [semantic versioning](https://semver.org/).
|
||||
|
||||
Jump to version:
|
||||
- [5.2.0 (Unreleased)](#520-unreleased)
|
||||
|
@ -18,7 +18,6 @@ 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
|
||||
|
@ -26,9 +25,9 @@ Additions
|
|||
- Added a multiline editing mode to TextField
|
||||
|
||||
Improvements
|
||||
- *Made Image ScaleToImage take ui scale into account*
|
||||
- *Added style properties for a lot of hardcoded default element styles*
|
||||
- Exposed the epsilon value used by Element calculations
|
||||
- Made Image ScaleToImage take ui scale into account
|
||||
- Added style properties for a lot of hardcoded default element styles
|
||||
- Allow style properties to set style values with a higher priority, which allows elements to style their default children
|
||||
- Allow changing the entire ui style for a single element
|
||||
- Skip unnecessary area updates for elements with dirty parents
|
||||
|
@ -41,7 +40,7 @@ Fixes
|
|||
- Fixed panels that don't auto-hide their scroll bars ignoring their width for child padding
|
||||
|
||||
Removals
|
||||
- *Removed ScrollBar ScrollerOffset*
|
||||
- Removed ScrollBar ScrollerOffset (which didn't actually work)
|
||||
|
||||
### MLEM.Data
|
||||
Additions
|
||||
|
@ -49,7 +48,7 @@ Additions
|
|||
- Added JsonTypeSafeWrapper and JsonTypeSafeGenericDataHolder
|
||||
|
||||
Improvements
|
||||
- *Use TitleContainer for opening streams where possible*
|
||||
- Use TitleContainer for opening streams where possible
|
||||
- Set GraphicsResource Name when loading assets using RawContentManager
|
||||
|
||||
## 5.1.0
|
||||
|
@ -58,12 +57,12 @@ Additions
|
|||
- Added RotateBy to Direction2Helper
|
||||
|
||||
Improvements
|
||||
- *Moved ColorHelper.Invert to ColorExtensions.Invert*
|
||||
- *Allow enumerating SoundEffectInstanceHandler entries*
|
||||
- Improved NinePatch memory usage
|
||||
- Moved sound-related classes into Sound namespace
|
||||
- Added customizable overloads for Keybind, Combination and GenericInput ToString methods
|
||||
- Moved ColorHelper.Invert to ColorExtensions.Invert
|
||||
- Removed LINQ Any and All usage in various methods to improve memory usage
|
||||
- Allow enumerating SoundEffectInstanceHandler entries
|
||||
- Improved KeysExtensions memory usage
|
||||
|
||||
Fixes
|
||||
|
@ -76,8 +75,8 @@ Additions
|
|||
- Added a masking character to TextField to allow for password-style text fields
|
||||
|
||||
Improvements
|
||||
- *Explicitly disallow creating Paragraphs without fonts to make starting out with MLEM.Ui less confusing*
|
||||
- Removed LINQ Any and All usage in various methods to improve memory usage
|
||||
- Explicitly disallow creating Paragraphs without fonts to make starting out with MLEM.Ui less confusing
|
||||
- Allow adding Link children to non-Paragraph elements
|
||||
|
||||
Fixes
|
||||
|
@ -114,13 +113,13 @@ Additions
|
|||
- Added text alignment options to tokenized strings
|
||||
|
||||
Improvements
|
||||
- *Replaced TextInputWrapper with a more refined MlemPlatform that includes the ability to open links on various platforms*
|
||||
- Allow NinePatches to be drawn tiled rather than stretched
|
||||
- Added the ability for Direction2 to be used as flags
|
||||
- Made Padding and Direction2 DataContracts
|
||||
- Expose the viewport of cameras
|
||||
- Greatly improved the efficiency of line splitting for GenericFont and TokenizedString
|
||||
- Improved performance of TextFormatter tokenization
|
||||
- Replaced TextInputWrapper with a more refined MlemPlatform that includes the ability to open links on various platforms
|
||||
- Allow for underline and shadow formatting codes to be mixed with font changing codes
|
||||
- Exposed Keybind Combinations
|
||||
|
||||
|
@ -129,8 +128,8 @@ Fixes
|
|||
- Fixed UnderlineCode ending in the wrong places because it was marked as a font-changing code
|
||||
|
||||
Removals
|
||||
- *Removed the array-based GetRandomEntry method*
|
||||
- *Removed obsolete ColorExtension methods*
|
||||
- Removed the array-based GetRandomEntry method
|
||||
- Removed obsolete ColorExtension methods
|
||||
|
||||
### MLEM.Ui
|
||||
Additions
|
||||
|
@ -144,8 +143,8 @@ Additions
|
|||
- Added text alignment options to paragraphs
|
||||
|
||||
Improvements
|
||||
- *Removed unnecessary GraphicsDevice references from UiSystem*
|
||||
- Stop a panel's scroll bar from being removed from its children list automatically
|
||||
- Removed unnecessary GraphicsDevice references from UiSystem
|
||||
- Dispose of panels' render targets to avoid memory leaks
|
||||
- Allow changing the color that a panel renders its texture with
|
||||
|
||||
|
|
|
@ -9,11 +9,6 @@ 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