Skip to content

Commit

Permalink
tweak depth sorting of clubhouse UI
Browse files Browse the repository at this point in the history
  • Loading branch information
fallahn committed Sep 3, 2024
1 parent a6f3a42 commit 618368a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/golf/buildnumber.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ifndef BUILD_NUMBER_H_
#define BUILD_NUMBER_H_

#define BUILDNUMBER 7147
#define BUILDNUMBER_STR "7147"
#define BUILDNUMBER 7148
#define BUILDNUMBER_STR "7148"

#endif /* BUILD_NUMBER_H_ */
2 changes: 1 addition & 1 deletion samples/golf/src/golf/ClubhouseStateUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ void ClubhouseState::createStatMenu(cro::Entity parent, std::uint32_t mouseEnter
pos /= 2.f;
pos.x = std::floor(pos.x);
pos.y = std::floor(pos.y);
e.getComponent<cro::Transform>().setPosition(glm::vec3(pos, 0.2f));
e.getComponent<cro::Transform>().setPosition(glm::vec3(pos, 0.6f));
};

parent.getComponent<cro::Transform>().addChild(entity.getComponent<cro::Transform>());
Expand Down

0 comments on commit 618368a

Please sign in to comment.