Skip to content

Commit

Permalink
Merge pull request #92 from tobiashienzsch/gcc-warning
Browse files Browse the repository at this point in the history
Fix gcc Wimplicit-int-float-conversion.
  • Loading branch information
sudara authored Sep 27, 2023
2 parents 686c082 + 17bd3da commit 55c4ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melatonin/components/overlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ namespace melatonin
if (selectedComponent && hoveredComponent)
{
int labelHeight = 15;
auto paddingToLabel = 4;
auto paddingToLabel = 4.0f;

// top
if (lineToTopHoveredComponent.getLength() > 0)
Expand Down

0 comments on commit 55c4ee4

Please sign in to comment.