mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -05:00
Merge pull request #72 from Yusuke57/fix-typo-subtitle
Fix: typo in subtitle
This commit is contained in:
commit
9b53c07113
@ -271,9 +271,9 @@ namespace Alchemy.Editor.Drawers
|
||||
};
|
||||
parent.Insert(parent.IndexOf(TargetElement), title);
|
||||
|
||||
if (att.SubitleText != null)
|
||||
if (att.SubtitleText != null)
|
||||
{
|
||||
var subtitle = new Label(att.SubitleText)
|
||||
var subtitle = new Label(att.SubtitleText)
|
||||
{
|
||||
style = {
|
||||
fontSize = 10f,
|
||||
|
@ -164,18 +164,18 @@ namespace Alchemy.Inspector
|
||||
public TitleAttribute(string titleText)
|
||||
{
|
||||
TitleText = titleText;
|
||||
SubitleText = null;
|
||||
SubtitleText = null;
|
||||
}
|
||||
|
||||
public TitleAttribute(string titleText, string subtitle)
|
||||
{
|
||||
TitleText = titleText;
|
||||
SubitleText = subtitle;
|
||||
SubtitleText = subtitle;
|
||||
}
|
||||
|
||||
|
||||
public string TitleText { get; }
|
||||
public string SubitleText { get; }
|
||||
public string SubtitleText { get; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
||||
|
Loading…
Reference in New Issue
Block a user