-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [3.2.0-pre.3] - 2022-03-07 ### Changes - Fixed a potential IndexOutOfRangeException when trying to select any portions of text in an Input Field whose child text component is using Overflow mode Truncate or Ellipsis where due to RectTransform width and / or height restrictions have results in the text being fully truncated. Case #1361032 - Fixed incorrect character sequencing in the Input Field when using Japanese IME in UWP builds. Case #1374755 - Fixed several potential IndexOutOfRangeException in the Input Field when text is fully truncated when using Text Overflow mode Ellipsis or Truncate. - Fixed Input Field incorrect caretPosition and / or stringPosition properties when updating these via scripting. Case #1334622 - Fixed incorrect event handling on UWP and Hololens 2. Case #1357718 and Case #1351006 - Fixed Input Field OnSelect event potentially firing twice on some mobile devices including Microsoft Surfaces. - Fixed Input Field incorrect caret insertion position when text contains a Carriage Return <CR> at the end of a line. Case #1362068 - Added support for <CR> markup tag. - Added value range check for the text component margins located in the text component extra settings. Case #1365554 - Added new overload to the TMP_FontAsset.CreateFontAsset() to enable creating font asset instances using a file path. - Added new TMP_ResourceManager.RemoveFontAsset() function to remove a font asset from the TMP Resource Manager. This new function would typically be used prior to unloading bundles and / or resources. - Warnings about potentially missing character 0x5F used to display underline or strikethrough will only be displayed when using those features when Display Warning is enabled in the TMP Settings. - Fixed incorrect handling of '-' at the end of a line when using Text Overflow Page mode. Case #1382173 - Fixed incorrect line breaking when a hyphen '-' is preceded by a space. Case #1391990 - When using Text Wrapping Mode - Preserve White Space or Preserve White Space No Wrap, the <ZWSP> character will now contribute to the preferred height when it is the first and only character on a new line. - Added ClearFontAssetGlyphCache() function to the TMP_ResourcesManager to enable clearing the font asset fallback glyph cache. - Added new <ZWJ> markup tag. - Added ability to define a list of fallback text assets in the TMP Settings to be used for Emojis. - Added new property "emojiFallbackSupport" to text components which is also exposed in the extra settings section of the text component inspector. When enabled, this will prioritize searching the Emoji Fallback Text Assets before the primary font asset for characters defined as Emoji in Unicode 14.0. See [forum post](https://forum.unity.com/threads/fallback-to-emojis-before-fonts.1186174/) for details. - Fixed duplicated character when using custom validator in conjunction with soft keyboard. Case #1387772 - The <noparse> markup tag will now also affect inline markup tags like <br>, <shy>, etc. - Fixed newly created StyleSheets having two Normal styles. - Added new Double Pass SDF shader and example scene to the TMP Examples & Extras to showcase this new shader. - Added new context menu option to manually "clear dynamic data" of a dynamic font asset. This performs the same clearing of data as the "Clear Dynamic Data on Build" option when manually triggered. - Added new <a href="url"> markup tag which can be used as follows: "See <a href="http://url...">this link</a> for details.". This new markup tag is similar to the <link> tag but does not use an ID. - Added new "A" style to the Default Style Sheet referenced in the TMP Settings. This "A" style defines the styling of the new <a> markup tag. - The TMP_Text.parseCtrlCharacters property which controls the interpretation and parsing of escape characters in the text component's Text Input box in the inspector, will now apply to all methods of setting the text on the component. Case #1400008 - Fixed potential Null Reference Exception when editing the name of a sprite character. Case #1396591 - Fixed issue where TMP_FontAsset.HasCharacters would return false when called prior to font asset initialization. Case #1394817 - Minor TMP_InputField UI improvement where "Hide Mobile Input" property will be disabled when "Hide Soft Keyboard" property is disabled. Case #1388243
- Loading branch information
Unity Technologies
committed
Mar 7, 2022
1 parent
f2d5cfb
commit cd02c78
Showing
51 changed files
with
2,557 additions
and
2,012 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.