Skip to content

Commit

Permalink
fixed compilation issue on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Feb 20, 2023
1 parent ddabd1f commit 3f8bed1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cpp/re/edit/Widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ class Widget : public Editable
constexpr ImVec2 getBottomRight() const { return fGraphics->getBottomRight(); }
inline ImVec2 getSize() const { return fGraphics->getSize(); }
void setPosition(ImVec2 const &iPosition);
constexpr void setPositionFromCenter(ImVec2 const &iCenterPosition) {
setPositionAction(iCenterPosition - getSize() / 2.0f); }
inline void setPositionFromCenter(ImVec2 const &iCenterPosition) { setPositionAction(iCenterPosition - getSize() / 2.0f); }

constexpr bool isSelected() const { return fSelected; }
constexpr void select() { fSelected = true; }
Expand Down

0 comments on commit 3f8bed1

Please sign in to comment.