Fix spacing on player markers to correct health/armor layout

This commit is contained in:
Mike Primm 2011-05-25 12:28:01 +08:00 committed by mikeprimm
parent b4bde5148b
commit 75f012575f

View file

@ -23,6 +23,9 @@ componentconstructors['playermarkers'] = function(dynmap, configuration) {
}); });
} }
if (configuration.showplayerhealth) { if (configuration.showplayerhealth) {
if(!configuration.showplayerfaces) /* Need 32 high */
playerImage.css('margin-bottom','16px');
player.healthContainer = $('<div/>') player.healthContainer = $('<div/>')
.addClass('healthContainer') .addClass('healthContainer')
.appendTo(div); .appendTo(div);