UI: Avoid enum/float comparisons.

This commit is contained in:
Unknown W. Brackets committed 2022-11-12 12:30:04 -08:00
1 parent 294d028dbf
commit c20bcc1f08
3 files changed
+8 -10

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
namespace UI {
const float ITEM_HEIGHT = 64.f;
static constexpr Size ITEM_HEIGHT = 64.f;
void ApplyGravity(const Bounds outer, const Margins &margins, float w, float h, int gravity, Bounds &inner) {
inner.w = w;