mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2026-01-26 05:24:03 +01:00
Fix right click and middle click mix-up
This commit is contained in:
@@ -103,8 +103,8 @@ fun Modifier.combinedMouseClickable(
|
||||
) {
|
||||
when {
|
||||
buttons.isPrimaryPressed -> onClick()
|
||||
buttons.isSecondaryPressed -> onMiddleClick()
|
||||
buttons.isTertiaryPressed -> onRightClick()
|
||||
buttons.isSecondaryPressed -> onRightClick()
|
||||
buttons.isTertiaryPressed -> onMiddleClick()
|
||||
}
|
||||
}
|
||||
.semantics(mergeDescendants = true) {
|
||||
|
||||
Reference in New Issue
Block a user