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 108e9d24c4
commit 38dd39d75f

View File

@ -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 = $('<div/>')
.addClass('healthContainer')
.appendTo(div);