mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[JEWEL-891] Annotate detectPressAndCancel as internal API
It was opened up by someone without our knowledge, and it risks leaking into the public API otherwise. APIs annotated as @ApiStatus.Internal do not show up in the API dumps, because as far as IJP is concerned, they should not be used. However, we also have standalone users, and for them that annotation has no meaning. This will need to be cherry picked onto 252 asap, too. closes https://github.com/JetBrains/intellij-community/pull/3122 GitOrigin-RevId: dfff8dcadd39cfbdc0e6557083bfa834cc1b9f47
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ac13c5ce13
commit
3554a3f138
@@ -56,6 +56,7 @@ import androidx.compose.ui.unit.Dp
|
||||
import androidx.compose.ui.window.PopupProperties
|
||||
import kotlinx.coroutines.coroutineScope
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.jewel.foundation.InternalJewelApi
|
||||
import org.jetbrains.jewel.foundation.Stroke
|
||||
import org.jetbrains.jewel.foundation.modifier.border
|
||||
import org.jetbrains.jewel.foundation.modifier.onHover
|
||||
@@ -366,6 +367,7 @@ public value class ComboBoxState(public val state: ULong) : FocusableComponentSt
|
||||
}
|
||||
}
|
||||
|
||||
@InternalJewelApi
|
||||
@ApiStatus.Internal
|
||||
public suspend fun PointerInputScope.detectPressAndCancel(onPress: () -> Unit, onCancel: () -> Unit) {
|
||||
coroutineScope {
|
||||
|
||||
Reference in New Issue
Block a user