Fixed clicking on empty diff wouldn't change the focus
This commit is contained in:
parent
4a90e1c757
commit
dcf9ceb6a3
@ -84,6 +84,10 @@ fun Diff(
|
||||
.fillMaxSize()
|
||||
.focusRequester(focusRequester)
|
||||
.focusable()
|
||||
.clickable(
|
||||
interactionSource = remember { MutableInteractionSource() },
|
||||
indication = null
|
||||
) {}
|
||||
.onPreviewKeyEvent { keyEvent ->
|
||||
if (keyEvent.matchesBinding(KeybindingOption.EXIT)) {
|
||||
onCloseDiffView()
|
||||
|
Loading…
Reference in New Issue
Block a user