From 17bd3dabe7c4a86cf9ef48b7633c0c923dbaf43b Mon Sep 17 00:00:00 2001 From: Tobias Hienzsch Date: Mon, 25 Sep 2023 12:54:10 +0200 Subject: [PATCH] Fix gcc Wimplicit-int-float-conversion. --- melatonin/components/overlay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)