From 107a4934da2b8b61b305f47681dfa5381ad5040b Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 5 Dec 2021 05:17:29 +0100 Subject: [PATCH] Fix rendering in minimaps --- Models/ThemeConfig/PointRenderingConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/ThemeConfig/PointRenderingConfig.ts b/Models/ThemeConfig/PointRenderingConfig.ts index a60bc10a5..7160a251d 100644 --- a/Models/ThemeConfig/PointRenderingConfig.ts +++ b/Models/ThemeConfig/PointRenderingConfig.ts @@ -215,9 +215,9 @@ export default class PointRenderingConfig extends WithContextLoader { if(icon === undefined && label === undefined){ htmlEl = undefined }else if(icon === undefined){ - htmlEl = label + htmlEl = new Combine([label]) }else if(label === undefined){ - htmlEl = new Combine([iconAndBadges]).SetStyle("flex flex-col") + htmlEl = new Combine([iconAndBadges]) }else { htmlEl = new Combine([iconAndBadges, label]).SetStyle("flex flex-col") }