Fix spacing on player markers to correct health/armor layout
This commit is contained in:
parent
b4bde5148b
commit
75f012575f
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue