fix(toolbar): Run stays enabled on running QEMU-Linux boards — re-run without reboot was unreachable
This commit is contained in:
parent
bbafe66ee7
commit
248d8b5e97
|
|
@ -1478,7 +1478,13 @@ export const EditorToolbar = ({
|
|||
? digitalRunning || verifying
|
||||
: isMultiBoard
|
||||
? compileAllRunning || anyBoardRunning || verifying
|
||||
: running || compiling || verifying || !activeBoard
|
||||
: // QEMU-Linux boards keep Run enabled while running:
|
||||
// on a booted guest it re-uploads the edited files
|
||||
// and re-runs the script without the ~45 s reboot.
|
||||
(running && !isPiBoardKind(activeBoard?.boardKind ?? '')) ||
|
||||
compiling ||
|
||||
verifying ||
|
||||
!activeBoard
|
||||
}
|
||||
className="tb-btn tb-btn-run"
|
||||
title={
|
||||
|
|
|
|||
Loading…
Reference in New Issue