Skip to content

Commit

Permalink
fix ambiguous ccpoint ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jun 22, 2023
1 parent 2eb72c4 commit 38d4794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/CommentCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class $modify(BICommentCell, CommentCell) {
menu_selector(BICommentCell::onLevelInfoNoLoad)
);
menu->addChild(commentsButton);
CCPoint smallPosition({206 - (winSize.width / 2), 24.5f - (winSize.height / 2) });
CCPoint largePosition({154 - (winSize.width / 2), 60 - (winSize.height / 2) });
CCPoint smallPosition(206 - (winSize.width / 2), 24.5f - (winSize.height / 2));
CCPoint largePosition(154 - (winSize.width / 2), 60 - (winSize.height / 2));
commentsButton->setPosition(smallCommentsMode ? smallPosition : largePosition);
commentsButton->setSizeMult(1.2f);
commentsButton->setID("bi-comments-button");
Expand Down

0 comments on commit 38d4794

Please sign in to comment.