mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Update reload unsquare issues function name
This commit is contained in:
@@ -64,8 +64,8 @@ export function coreValidator(context) {
|
||||
};
|
||||
|
||||
|
||||
// when the user changes the squaring thereshold, rerun this on all buildings
|
||||
validator.changeSquareThreshold = function() {
|
||||
// must update issues when the user changes the unsquare thereshold
|
||||
validator.reloadUnsquareIssues = function() {
|
||||
|
||||
reloadUnsquareIssues(_headCache, context.graph());
|
||||
reloadUnsquareIssues(_baseCache, context.history().base());
|
||||
|
||||
@@ -650,7 +650,7 @@ export function uiIssues(context) {
|
||||
.property('value', degStr);
|
||||
|
||||
context.storage('validate-square-degrees', degStr);
|
||||
context.validator().changeSquareThreshold(degNum);
|
||||
context.validator().reloadUnsquareIssues();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user