Skip to content

Commit

Permalink
fix(Windows + Linux): Fix calculation for service position
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Mar 22, 2022
1 parent 6814876 commit 2f22ce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/services/content/Services.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default @injectSheet(styles) @observer class Services extends Component {
width: bounds.width,
height: bounds.height,
x: bounds.x,
y: bounds.y,
y: element.target.offsetTop,
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/features/todos/components/TodosWebview.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class TodosWebview extends Component {
width: bounds.width,
height: bounds.height,
x: bounds.x,
y: bounds.y,
y: element.target.offsetTop,
});
});

Expand Down

0 comments on commit 2f22ce6

Please sign in to comment.