Skip to content

Commit

Permalink
fix(script): 修复软件配置同步后,日志页面全锁定的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Oct 15, 2023
1 parent 034f52f commit e6f0610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/scripts/src/projects/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ export const BackgroundProject = Project.create({
if (panel.configsContainer.children.length) {
panel.configsContainer.classList.add('lock');
panel.lockWrapper.style.width =
(panel.configsContainer.clientWidth || panel.clientWidth) + 'px';
(panel.configsContainer.clientWidth ?? panel.clientWidth) + 'px';
panel.lockWrapper.style.height =
(panel.configsContainer.clientHeight || panel.clientHeight) + 'px';
(panel.configsContainer.clientHeight ?? panel.clientHeight) + 'px';
panel.configsContainer.prepend(panel.lockWrapper);

panel.lockWrapper.title =
Expand Down

0 comments on commit e6f0610

Please sign in to comment.