mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Quick fix for errors
This commit is contained in:
parent
a390e6667b
commit
db6fddc746
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue