mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 06:35:20 +02:00
add missing context parameter to call of intro.pad() in method retry() for incomplete way drawings
This commit is contained in:
@@ -61,7 +61,7 @@ iD.ui.intro.line = function(context, reveal) {
|
||||
// ended line before creating intersection
|
||||
function retry(mode) {
|
||||
if (mode.id !== 'select') return;
|
||||
var pointBox = iD.ui.intro.pad(intersection, 30);
|
||||
var pointBox = iD.ui.intro.pad(intersection, 30, context);
|
||||
reveal(pointBox, t('intro.lines.restart'));
|
||||
timeout(function() {
|
||||
context.replace(iD.actions.DeleteMultiple(mode.selectedIDs()));
|
||||
|
||||
Reference in New Issue
Block a user