hud-pinning.js: use absolute positioning
This commit is contained in:
parent
00736d9ebb
commit
4ff7ca25f2
|
@ -25,7 +25,7 @@ $(document).ready(function() {
|
|||
|
||||
if (window.Options && Options.get_tab('general') && window.jQuery) {
|
||||
function setHudPinning(pin) {
|
||||
let style = pin ? '' : 'initial';
|
||||
let style = pin ? '' : 'absolute';
|
||||
$('#top-hud').css('position', style);
|
||||
$('#bottom-hud').css('position', style);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user