1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-26 21:29:33 +00:00

ui: don't print alert if lose visibility before compile

This commit is contained in:
Steven Hugg 2021-08-17 20:01:43 -05:00
parent 6134a8c89c
commit 05ab17d3da

View File

@ -1475,13 +1475,13 @@ function _pause() {
} }
function pause() { function pause() {
if (!checkRunReady()) return;
clearBreakpoint(); clearBreakpoint();
_pause(); _pause();
userPaused = true; userPaused = true;
} }
function _resume() { function _resume() {
if (!checkRunReady()) return;
if (!platform.isRunning()) { if (!platform.isRunning()) {
platform.resume(); platform.resume();
console.log("Resumed"); console.log("Resumed");
@ -1491,6 +1491,7 @@ function _resume() {
} }
function resume() { function resume() {
if (!checkRunReady()) return;
clearBreakpoint(); clearBreakpoint();
if (! platform.isRunning() ) { if (! platform.isRunning() ) {
projectWindows.refresh(false); projectWindows.refresh(false);