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

Fix LineMetrics resolution for wasm and js targets #846

Merged
merged 5 commits into from Dec 15, 2023

Conversation

Schahen
Copy link
Collaborator

@Schahen Schahen commented Dec 14, 2023

This contributes to fixing https://youtrack.jetbrains.com/issue/COMPOSE-108/CfW-fix-TextField-cursor

I had to introduce assertCloseEnough sensitive enought to path throughout all our targets

Fixes JetBrains/compose-multiplatform#3120

This contributes to fixing https://youtrack.jetbrains.com/issue/COMPOSE-108/CfW-fix-TextField-cursor

I had to introduce assertCloseEnough sensitive enought to path
throughout all our targets
baseline = 13.619318008422852,
lineNumber = 0
), epsilon = lineMetricsEpsilon
)
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now it's a redundant '}' so it doesn't compile

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, fixed 🤦

@Schahen Schahen merged commit dcbac74 into master Dec 15, 2023
5 checks passed
@Schahen Schahen deleted the compose_108_cursor_pr branch December 15, 2023 10:52
@dhakehurst
Copy link

is this fix in version "1.6.0-beta01" ?
because I still have lineMetric issues !

@eymar
Copy link
Collaborator

eymar commented Apr 24, 2024

is this fix in version "1.6.0-beta01" ?
because I still have lineMetric issues !

@dhakehurst I see it was fixed in 1.6.0-beta02.
Could you please check if you have any LineMetrics issues in 1.6.2 and/or 1.6.10-beta01 ?

eymar added a commit to JetBrains/compose-multiplatform-core that referenced this pull request May 1, 2024
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

Successfully merging this pull request may close these issues.

The cursor is invisible in compose web
4 participants