Skip to content

Commit

Permalink
fix: clickgui jumping when opened from main menu (#3866)
Browse files Browse the repository at this point in the history
  • Loading branch information
SenkJu authored Sep 2, 2024
1 parent 3a259a0 commit 54727ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src-theme/src/routes/clickgui/ClickGui.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
.clickgui {
background-color: rgba($clickgui-base-color, 0.6);
overflow: hidden;
position: relative;
position: absolute;
will-change: opacity;
transform-origin: top left;
left: 0;
top: 0;
}
</style>
1 change: 0 additions & 1 deletion src-theme/src/routes/clickgui/Module.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
if (aliases.length > 0) {
moduleDescription += ` (aka ${aliases.map(a => $spaceSeperatedNames ? convertToSpacedString(a) : a).join(", ")})`;
}
console.log($scaleFactor)
descriptionStore.set({
x: x * (2 / $scaleFactor),
y: y * (2 / $scaleFactor),
Expand Down

0 comments on commit 54727ec

Please sign in to comment.