Skip to content

Commit

Permalink
Update src/xrUICore/Static/UIStaticItem.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY authored Jun 7, 2024
1 parent caec557 commit 7595479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrUICore/Static/UIStaticItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ void CUIStaticItem::RenderInternal(const Fvector2& in_pos)
RBt.set(TextureRect.x2 / ts.x, TextureRect.y2 / ts.y);

// Check mirror mode
if (tmMirrorHorisontal == eMirrorMode || tmMirrorBoth == eMirrorMode)
if (EUIMirroring::Horisontal == eMirrorMode || EUIMirroring::Both == eMirrorMode)
std::swap(LTt.x, RBt.x);
if (tmMirrorVertical == eMirrorMode || tmMirrorBoth == eMirrorMode)
if (EUIMirroring::Vertical == eMirrorMode || EUIMirroring::Both == eMirrorMode)
std::swap(LTt.y, RBt.y);

float offset = -0.5f;
Expand Down

0 comments on commit 7595479

Please sign in to comment.