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 committed Jun 7, 2024
1 parent 7595479 commit 6d37da1
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 @@ -138,9 +138,9 @@ void CUIStaticItem::RenderInternal(float angle)
RBt.set(TextureRect.x2 / ts.x + hp.x, TextureRect.y2 / ts.y + hp.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 kx = UI().get_current_kx();
Expand Down

0 comments on commit 6d37da1

Please sign in to comment.