Skip to content

Commit

Permalink
Reorganize Build menu
Browse files Browse the repository at this point in the history
  • Loading branch information
romainguy committed Dec 11, 2024
1 parent 0cced88 commit 4500f3b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,12 @@ private fun FrameWindowScope.MainMenu(
}
}
Menu("Build") {
MenuItem(
"Build & Disassemble",
CtrlShift(D),
onClick = compileAndDisassemble,
enabled = explorerState.toolPaths.isValid
)
MenuItem(
"Run",
CtrlOnly(R),
Expand All @@ -611,12 +617,6 @@ private fun FrameWindowScope.MainMenu(
MenuCheckboxItem("Optimize with R8", CtrlShift(O), explorerState::optimize)
MenuCheckboxItem("Keep Everything", CtrlShift(K), explorerState::keepEverything)
MenuCheckboxItem("Build on Startup", shortcut = null, explorerState::autoBuildOnStartup)
MenuItem(
"Build & Disassemble",
CtrlShift(D),
onClick = compileAndDisassemble,
enabled = explorerState.toolPaths.isValid
)
}
}
}
Expand Down

0 comments on commit 4500f3b

Please sign in to comment.