Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Oct 30, 2023
1 parent 2a34ed0 commit e0e8a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ctools/cTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -3414,7 +3414,7 @@ ct::rect<T> GetScreenRectWithSize(ct::vec2<T> vItemSize, ct::vec2<T> vMaxSize, b
rc.h = (T)newY;
}

if constexpr (std::is_same<T, float>::value || constexpr std::is_same<T, double>::value) {
if constexpr (std::is_same<T, float>::value || std::is_same<T, double>::value) {
rc = ct::floor<T>(rc);
}

Expand Down

0 comments on commit e0e8a4b

Please sign in to comment.