From 22109beb913fe67a765f1f6bec7e401a0cc05aa2 Mon Sep 17 00:00:00 2001 From: dabaoImp11 Date: Sat, 28 Sep 2024 19:42:30 +0800 Subject: [PATCH] Update v1.2.8 --- TheOtherRoles/MetaContext/MetaContext.cs | 1 + TheOtherRoles/MetaContext/MetaText.cs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/TheOtherRoles/MetaContext/MetaContext.cs b/TheOtherRoles/MetaContext/MetaContext.cs index 665c63d..95b54ea 100644 --- a/TheOtherRoles/MetaContext/MetaContext.cs +++ b/TheOtherRoles/MetaContext/MetaContext.cs @@ -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! }; } diff --git a/TheOtherRoles/MetaContext/MetaText.cs b/TheOtherRoles/MetaContext/MetaText.cs index 77d24bd..3f81af0 100644 --- a/TheOtherRoles/MetaContext/MetaText.cs +++ b/TheOtherRoles/MetaContext/MetaText.cs @@ -108,6 +108,11 @@ public enum AttributeAsset /// Preset読み込み画面の各プリセットのボタンと同じ大きさです。 /// StandardLargeWideMasked, + + /// + /// 主にオーバーレイ向けの本文用可変サイズテキスト属性です。 + /// + OverlayContent, } [Flags]