Skip to content

Commit a011ddc

Browse files
tannerwusterbhousel
authored andcommitted
change kerb to curb
1 parent 5992d9b commit a011ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/validations/curb_nodes.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ export function validationCurbNodes(context) {
4040
data: { crossingWayID: wayID },
4141
dynamicFixes: () => ['unspecified', 'flush', 'lowered', 'raised'].map(type => {
4242
const tags = { barrier: 'kerb', kerb: type };
43-
const iconID = getIconForCurbNode(tags); // Get the appropriate icon based on the tags
43+
const iconID = getIconForCurbNode(tags);
4444
return new ValidationFix({
45-
icon: iconID, // Use the dynamically selected icon
45+
icon: iconID,
4646
title: `Add ${type} Curb Nodes`,
4747
onClick: () => {
4848
const action = applyCurbNodeFix(wayID, editor.staging.graph, tags);
@@ -88,10 +88,10 @@ export function validationCurbNodes(context) {
8888

8989

9090
/**
91-
* hasKerbNodes
91+
* hasCurbNodes
9292
* Checks if the given way already has curb nodes
9393
* @param {Object} way - The way entity to check
94-
* @return {Boolean} True if kerb nodes are present, false otherwise
94+
* @return {Boolean} True if curb nodes are present, false otherwise
9595
*/
9696
function hasCurbNodes(way) {
9797
const graph = editor.staging.graph;

0 commit comments

Comments
 (0)