Fixed context menu not working when clicking on the graph
This commit is contained in:
parent
7e86e3b2fd
commit
759d30014b
@ -526,12 +526,6 @@ fun CommitLine(
|
||||
) {
|
||||
val commitRefs = graphNode.refs
|
||||
|
||||
Box(modifier = Modifier
|
||||
.clickable {
|
||||
onRevCommitSelected(graphNode)
|
||||
}
|
||||
.padding(start = graphWidth + PADDING_BETWEEN_DIVIDER_AND_MESSAGE.dp)
|
||||
) {
|
||||
ContextMenuArea(
|
||||
items = {
|
||||
listOf(
|
||||
@ -561,6 +555,12 @@ fun CommitLine(
|
||||
)
|
||||
)
|
||||
},
|
||||
) {
|
||||
Box(modifier = Modifier
|
||||
.clickable {
|
||||
onRevCommitSelected(graphNode)
|
||||
}
|
||||
.padding(start = graphWidth + PADDING_BETWEEN_DIVIDER_AND_MESSAGE.dp)
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
|
Loading…
Reference in New Issue
Block a user