mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Don't show users border when hover mouse if logged out
This commit is contained in:
parent
c82ac269ce
commit
760f4366e1
1 changed files with 4 additions and 0 deletions
|
@ -826,6 +826,10 @@ var usersWindow = (function () {
|
|||
function onMouseMoveEvent(event) {
|
||||
var isVisible;
|
||||
|
||||
if (!isLoggedIn) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isMovingScrollbar) {
|
||||
if (scrollbarBackgroundPosition.x - WINDOW_MARGIN <= event.x
|
||||
&& event.x <= scrollbarBackgroundPosition.x + SCROLLBAR_BACKGROUND_WIDTH + WINDOW_MARGIN
|
||||
|
|
Loading…
Reference in a new issue