Skip to content

Commit

Permalink
make k/js happy
Browse files Browse the repository at this point in the history
Co-authored-by: Oleksandr Karpovich <a.n.karpovich@gmail.com>
  • Loading branch information
SergeevPavel and eymar committed Oct 30, 2024
1 parent 159c4fb commit 24bb6d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class ParagraphStyle : Managed(ParagraphStyle_nMake(), _FinalizerHolder.PTR) {
var isApplyRoundingHackEnabled: Boolean
get() = try {
Stats.onNativeCall()
_nGetApplyRoundingHack(_ptr)
_nGetApplyRoundingHack(_ptr).not().not()
} finally {
reachabilityBarrier(this)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class ParagraphTest {
}

@Test
fun `layout paragraph with its maxIntrinsicWidth shouldn't lead to wraps`() = runTest {
fun layout_paragraph_with_its_maxIntrinsicWidth_shouldnt_lead_to_wraps() = runTest {
suspend fun testWraps(isApplyRoundingHackEnabled: Boolean, unexpectedWrapsPresent: Boolean) {
val paragraphStyle = ParagraphStyle().apply {
this.isApplyRoundingHackEnabled = isApplyRoundingHackEnabled
Expand Down

0 comments on commit 24bb6d5

Please sign in to comment.