Add warning around select_bridge hax

This commit is contained in:
Shaunak Kishore
2015-09-10 02:01:04 -04:00
parent 8e71c12f9e
commit 0d5565743f

View File

@ -332,6 +332,8 @@ function extract_stroke(paths, endpoint_map, bridge_adjacency,
}
}
// Here there be dragons!
// TODO(skishore): Document the point of the geometry in this function.
function select_bridge(endpoint, options) {
if (options.length === 1) {
// Handle star-shaped strokes where one stroke ends at the intersection