Skip to content

Commit

Permalink
Fix previous commit, setting `firstDownRefersToPrimaryMouseButtonOnly…
Browse files Browse the repository at this point in the history
…() = true`.
  • Loading branch information
m-sasha committed Dec 19, 2024
1 parent 3ef7c22 commit e13e9ca
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@

package androidx.compose.foundation.gestures

import androidx.compose.foundation.implementedInJetBrainsFork
import androidx.compose.ui.input.pointer.PointerEvent

actual val PointerEvent.isDeepPress: Boolean
get() = false // TODO: Support PointerEvent.isDeepPress

internal actual fun firstDownRefersToPrimaryMouseButtonOnly(): Boolean =
implementedInJetBrainsFork()
internal actual fun firstDownRefersToPrimaryMouseButtonOnly(): Boolean = true

0 comments on commit e13e9ca

Please sign in to comment.