Browse Source

fix: sheet menu position

master
btea 5 years ago
parent
commit
a40f679fde
  1. 4
      src/controllers/sheetBar.js

4
src/controllers/sheetBar.js

@ -451,7 +451,9 @@ export function initialSheetBar(){
let $t = $("#luckysheet-sheet-list");
mouseclickposition($t, $(this).offset().left, $(this).offset().top - 12, "leftbottom");
let left = $(this).offset().left - $('#' + Store.container).offset().left;
let bottom = $(this).height() + $('#luckysheet-sta-content').height() + 12;
$t.css({left: left + 'px', bottom: bottom + 'px'}).show();
$("#luckysheet-input-box").removeAttr("style");
});

Loading…
Cancel
Save