1
0
mirror of synced 2024-11-28 01:10:51 +01:00

Quick fix for errors

This commit is contained in:
KillzXGaming 2022-04-20 19:06:40 -04:00
parent a390e6667b
commit db6fddc746

View File

@ -96,7 +96,7 @@ namespace LayoutBXLYT.Cafe
[DisplayName("Horizontal Alignment"), CategoryAttribute("Font")]
public OriginX HorizontalAlignment
{
get { return (OriginY)((TextAlignment) & 0x3); }
get { return (OriginX)((TextAlignment) & 0x3); }
set
{
TextAlignment &= unchecked((byte)(~0x3));
@ -107,7 +107,7 @@ namespace LayoutBXLYT.Cafe
[DisplayName("Vertical Alignment"), CategoryAttribute("Font")]
public OriginY VerticalAlignment
{
get { return (OriginX)((TextAlignment >> 2) & 0x3); }
get { return (OriginY)((TextAlignment >> 2) & 0x3); }
set
{
TextAlignment &= unchecked((byte)(~0xC));