mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Don't check if data is downloaded for operations in the walkthrough
This commit is contained in:
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
@@ -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); });
|
||||
|
||||
Reference in New Issue
Block a user