Skip to content

Commit

Permalink
remove HasFlagFast
Browse files Browse the repository at this point in the history
  • Loading branch information
naoei committed Jul 29, 2024
1 parent c71605f commit f3aff25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public override float Width
{
get
{
if (AutoSizeAxes.HasFlagFast(Axes.X))
if (AutoSizeAxes.HasFlag(Axes.X))
return base.Width = vertexBounds.Width;

return base.Width;
Expand All @@ -145,7 +145,7 @@ public override float Height
{
get
{
if (AutoSizeAxes.HasFlagFast(Axes.Y))
if (AutoSizeAxes.HasFlag(Axes.Y))
return base.Height = vertexBounds.Height;

return base.Height;
Expand Down

0 comments on commit f3aff25

Please sign in to comment.