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

Enable HoverEffects #32

Open
jetrotal opened this issue Jan 30, 2022 · 0 comments
Open

Enable HoverEffects #32

jetrotal opened this issue Jan 30, 2022 · 0 comments

Comments

@jetrotal
Copy link

QmlOnline doesn't have native hover behavior on buttons, menubars, etc.

I was checking a Forked Repo, called Qaterial, when I found this file:
https://github.com/OlivierLDff/QaterialOnline/blob/master/src/main.cpp

There they added:

// useHoverEffects is disabled for wasm
    const auto styleHints = QGuiApplication::styleHints();
    styleHints->setUseHoverEffects(true);

I guess this is a fix to the lack of hover effects.
They also included many more fixes to make the wasm experience closer to the desktop one, maybe it's worth to check it out.

Thanks in advance.

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