Skip to content

Commit

Permalink
removed keybinding handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarponi committed Dec 12, 2023
1 parent 22670a8 commit 4e5a5f7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Menu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ import org.jetbrains.jewel.ui.component.styling.MenuItemMetrics
import org.jetbrains.jewel.ui.component.styling.MenuStyle
import org.jetbrains.jewel.ui.painter.hints.Stateful
import org.jetbrains.jewel.ui.theme.menuStyle
import org.jetbrains.jewel.ui.util.thenIf

@Composable
public fun PopupMenu(
Expand Down Expand Up @@ -169,14 +168,6 @@ internal fun MenuContent(
.background(colors.background, menuShape)
.width(IntrinsicSize.Max)
.onHover { localMenuManager.onHoveredChange(it) }
.thenIf(anyIconItem) {
onKeyEvent {
if (it.type == KeyEventType.KeyDown) {
// todo
}
false
}
},
) {
Column(Modifier.verticalScroll(scrollState).padding(style.metrics.contentPadding)) {
items.forEach {
Expand Down

0 comments on commit 4e5a5f7

Please sign in to comment.