mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
added back supported
This commit is contained in:
committed by
Bryan Housel
parent
3e7146c63f
commit
6dbea57721
@@ -181,6 +181,11 @@ export function svgKeepRight(projection, context, dispatch) {
|
||||
};
|
||||
|
||||
|
||||
drawKeepRight.supported = function() {
|
||||
return !!getService();
|
||||
};
|
||||
|
||||
|
||||
drawKeepRight.visibleErrors = function(_) {
|
||||
if (!arguments.length) return svgKeepRight.visibleErrors;
|
||||
svgKeepRight.visibleErrors.push(_);
|
||||
@@ -194,6 +199,7 @@ export function svgKeepRight(projection, context, dispatch) {
|
||||
};
|
||||
|
||||
|
||||
|
||||
init();
|
||||
return drawKeepRight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user