mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
Merge pull request #8180 from ctrlaltdavid/fix-users-border
don't show users border when hover mouse if logged out
This commit is contained in:
commit
34042d51ad
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