We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The rememberCursorPositionProvider only uses a few awt related things but breaks a lot of compatibility.
rememberCursorPositionProvider
val component = LocalLayerContainer.current val cursorPoint = remember { val awtMousePosition = MouseInfo.getPointerInfo().location convertPointFromScreen(awtMousePosition, component) IntOffset( (awtMousePosition.x * component.density.density).toInt(), (awtMousePosition.y * component.density.density).toInt() ) }
It will break the tooltip, cursor position popup. It breaks when using OpenGL or another non awt environment with ComposeSence.
HumbleUI/JWM#172
Can we have a LocalMouseLocationProvider with CompositionLocal and set defaults to the code above in rememberCursorPositionProvider?
LocalMouseLocationProvider
related to: #652
The text was updated successfully, but these errors were encountered:
In 1.4.0 rememberCursorPositionProvider doesn't rely on AWT anymore, so it should fine with non-awt environment
Sorry, something went wrong.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
igordmn
No branches or pull requests
The
rememberCursorPositionProvider
only uses a few awt related things but breaks a lot of compatibility.It will break the tooltip, cursor position popup.
It breaks when using OpenGL or another non awt environment with ComposeSence.
HumbleUI/JWM#172
Can we have a
LocalMouseLocationProvider
with CompositionLocal and set defaults to the code above in rememberCursorPositionProvider?related to: #652
The text was updated successfully, but these errors were encountered: