Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window edge detection fails #53

Open
PFight opened this issue Sep 30, 2021 · 1 comment
Open

Window edge detection fails #53

PFight opened this issue Sep 30, 2021 · 1 comment

Comments

@PFight
Copy link

PFight commented Sep 30, 2021

When tooltip shows to top, it do not check, that it's content visible on screen:

image

@PFight
Copy link
Author

PFight commented Sep 30, 2021

Probably fix:

            if (!isHorizontal) {
                // При вертикальном отображении left и right показывают - помещается ли содержимое по горизонатали в границах экрана
                directions.top = directions.top && directions.left && directions.right;
                directions.bottom = directions.top && directions.left && directions.right;
            }

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant