mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02: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