Skip to content

Commit

Permalink
Update v1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dabao40 authored Sep 28, 2024
1 parent 36480e8 commit 22109be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions TheOtherRoles/MetaContext/MetaContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ public TextAttributes GetAttribute(AttributeAsset attribute)
AttributeAsset.OblongHeader => new TextAttributes(TextAlignment.Left, GetFont(FontAsset.Oblong), FontStyle.Normal, new(5.2f, false), new(0.45f, 3f), new(255, 255, 255), true),
AttributeAsset.StandardMediumMasked => new TextAttributes(TextAlignment.Center, GetFont(FontAsset.Gothic), FontStyle.Bold, new(1.6f, 0.8f, 1.6f), new(1.45f, 0.3f), new(255, 255, 255), false),
AttributeAsset.StandardLargeWideMasked => new TextAttributes(TextAlignment.Center, GetFont(FontAsset.Gothic), FontStyle.Bold, new(1.7f, 1f, 1.7f), new(2.9f, 0.45f), new(255, 255, 255), false),
AttributeAsset.OverlayContent => new TextAttributes(Instance.GetAttribute(AttributeParams.StandardBaredLeft)) { FontSize = new(1.5f, 1.1f, 1.5f), Size = new(5f, 6f) },
_ => null!
};
}
Expand Down
5 changes: 5 additions & 0 deletions TheOtherRoles/MetaContext/MetaText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ public enum AttributeAsset
/// Preset読み込み画面の各プリセットのボタンと同じ大きさです。
/// </summary>
StandardLargeWideMasked,

/// <summary>
/// 主にオーバーレイ向けの本文用可変サイズテキスト属性です。
/// </summary>
OverlayContent,
}

[Flags]
Expand Down

0 comments on commit 22109be

Please sign in to comment.