mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-28 14:34:21 +00:00
ui: don't print alert if lose visibility before compile
This commit is contained in:
parent
6134a8c89c
commit
05ab17d3da
@ -1475,13 +1475,13 @@ function _pause() {
|
||||
}
|
||||
|
||||
function pause() {
|
||||
if (!checkRunReady()) return;
|
||||
clearBreakpoint();
|
||||
_pause();
|
||||
userPaused = true;
|
||||
}
|
||||
|
||||
function _resume() {
|
||||
if (!checkRunReady()) return;
|
||||
if (!platform.isRunning()) {
|
||||
platform.resume();
|
||||
console.log("Resumed");
|
||||
@ -1491,6 +1491,7 @@ function _resume() {
|
||||
}
|
||||
|
||||
function resume() {
|
||||
if (!checkRunReady()) return;
|
||||
clearBreakpoint();
|
||||
if (! platform.isRunning() ) {
|
||||
projectWindows.refresh(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user