Don't check if data is downloaded for operations in the walkthrough

This commit is contained in:
Quincy Morgan
2019-05-10 12:44:02 -04:00
parent ea1773f953
commit d1ad5a431f
8 changed files with 8 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ export function operationCircularize(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -90,6 +90,7 @@ export function operationDelete(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -95,6 +95,7 @@ export function operationDisconnect(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -40,6 +40,7 @@ export function operationMove(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -76,6 +76,7 @@ export function operationOrthogonalize(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -58,6 +58,7 @@ export function operationReflect(selectedIDs, context, axis) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -40,6 +40,7 @@ export function operationRotate(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });
+1
View File
@@ -98,6 +98,7 @@ export function operationStraighten(selectedIDs, context) {
function someMissing() {
if (context.inIntro()) return false;
var osm = context.connection();
if (osm) {
var missing = coords.filter(function(loc) { return !osm.isDataLoaded(loc); });