From 38dd39d75f52a9a5c1df03e9a3a94a88849a3b38 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Wed, 25 May 2011 12:28:01 +0800 Subject: [PATCH] Fix spacing on player markers to correct health/armor layout --- web/js/playermarkers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/js/playermarkers.js b/web/js/playermarkers.js index 83252507..30b8367a 100644 --- a/web/js/playermarkers.js +++ b/web/js/playermarkers.js @@ -23,6 +23,9 @@ componentconstructors['playermarkers'] = function(dynmap, configuration) { }); } if (configuration.showplayerhealth) { + if(!configuration.showplayerfaces) /* Need 32 high */ + playerImage.css('margin-bottom','16px'); + player.healthContainer = $('
') .addClass('healthContainer') .appendTo(div);