Skip to content

Commit

Permalink
Update build dependencies to fix cpu usage from TexField caret animation
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarponi committed Feb 22, 2024
1 parent 9b47517 commit 1158443
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
commonmark = "0.21.0"
composeDesktop = "1.6.0-dev1397"
composeDesktop = "1.6.0-dev1440"
detekt = "1.23.4"
dokka = "1.8.20"
idea = "241.12662.62-EAP-SNAPSHOT"
Expand Down
2 changes: 2 additions & 0 deletions samples/ide-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ repositories {
maven("https://www.jetbrains.com/intellij-repository/releases")
maven("https://cache-redirector.jetbrains.com/intellij-dependencies")
mavenCentral()
google()

}

dependencies {
Expand Down
1 change: 0 additions & 1 deletion ui/api/ui.api
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,6 @@ public final class org/jetbrains/jewel/ui/component/TooltipPlacement : androidx/
public static final field $stable I
public synthetic fun <init> (JLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/ui/unit/Density;FILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (JLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/ui/unit/Density;FLkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun positionProvider (Landroidx/compose/runtime/Composer;I)Landroidx/compose/ui/window/PopupPositionProvider;
public fun positionProvider-9KIMszo (JLandroidx/compose/runtime/Composer;I)Landroidx/compose/ui/window/PopupPositionProvider;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,7 @@ public class TooltipPlacement(
) : TooltipPlacement {

@Composable
@Suppress("OVERRIDE_DEPRECATION")
override fun positionProvider(): PopupPositionProvider {
error("Not supported")
}

@Composable
override fun positionProvider(cursorPosition: Offset): PopupPositionProvider =
public override fun positionProvider(cursorPosition: Offset): PopupPositionProvider =
rememberTooltipPositionProvider(
cursorPosition = cursorPosition,
contentOffset = contentOffset,
Expand Down

0 comments on commit 1158443

Please sign in to comment.