@hlfan commented on this pull request.
> + feature: {
+ draggable: false,
+
+ // Individual coordinates that make up the Feature...
+ coordinates: {
+ // Midpoint be added
+ midpoints: {
+ // Midpoint be dragged
+ draggable: true
+ },
+
+ // Can be moved
+ draggable: true,
+
+ // Can snap to other coordinates from geometries _of the same mode_
+ snappable: true,
+
+ // Allow resizing of the geometry from a given origin.
+ // center will allow resizing of the aspect ratio from the center
+ // and opposite allows resizing from the opposite corner of the
+ // bounding box of the geometry.
+ resizable: false,
+
+ // Can be deleted
+ deletable: true
+ }
I don't think most of these comments add any value on _why_ this was set.
```suggestion
feature: {
draggable: false,
coordinates: {
midpoints: { draggable: true },
draggable: true,
snappable: true,
deletable: true,
// Disallow resizing of the geometry from a given origin.
resizable: false
}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7148#pullrequestreview-4582963382
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/7148/review/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev