diff --git a/melatonin/components/overlay.h b/melatonin/components/overlay.h index c8e659f..cc90e76 100644 --- a/melatonin/components/overlay.h +++ b/melatonin/components/overlay.h @@ -373,7 +373,7 @@ namespace melatonin if (selectedComponent && hoveredComponent) { int labelHeight = 15; - auto paddingToLabel = 4; + auto paddingToLabel = 4.0f; // top if (lineToTopHoveredComponent.getLength() > 0)