mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix not being able to teleport to user when users window moved right
This commit is contained in:
parent
5906f88226
commit
a294170c74
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ var usersWindow = (function () {
|
|||
|
||||
if (clickedOverlay === windowPane) {
|
||||
|
||||
overlayX = event.x - WINDOW_MARGIN;
|
||||
overlayX = event.x - windowPosition.x - WINDOW_MARGIN;
|
||||
overlayY = event.y - windowPosition.y + windowHeight - WINDOW_MARGIN - windowLineHeight;
|
||||
|
||||
numLinesBefore = Math.round(overlayY / windowLineHeight);
|
||||
|
|
Loading…
Reference in a new issue