hud-pinning.js: use absolute positioning

This commit is contained in:
Zankaria 2024-05-01 00:44:39 +02:00
parent 00736d9ebb
commit 4ff7ca25f2

View File

@ -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);
}