Code

When snapping the object midpoint the snap source wasn't displayed
authorDiederik van Lierop <mailat-signdiedenrezidotnl>
Sun, 4 Jul 2010 21:19:23 +0000 (23:19 +0200)
committerDiederik van Lierop <mailat-signdiedenrezidotnl>
Sun, 4 Jul 2010 21:19:23 +0000 (23:19 +0200)
src/snap-enums.h

index 4e6854054df213dad7d3ee19e29ab2d74e355eac..64be3463719790a568e1abb9f678082899ba6b6f 100644 (file)
@@ -66,10 +66,10 @@ enum SnapSourceType {
     SNAPSOURCE_CONVEX_HULL_CORNER,
     SNAPSOURCE_ELLIPSE_QUADRANT_POINT,
     SNAPSOURCE_NODE_HANDLE, // eg. nodes in the path editor, handles of stars or rectangles, etc. (tied to a stroke)
+    SNAPSOURCE_OBJECT_MIDPOINT,
     //-------------------------------------------------------------------
     // Other points (e.g. guides, gradient knots) will snap to both bounding boxes and nodes
     SNAPSOURCE_OTHER_CATEGORY = 1024, // will be used as a flag and must therefore be a power of two
-    SNAPSOURCE_OBJECT_MIDPOINT,
     SNAPSOURCE_ROTATION_CENTER,
     SNAPSOURCE_CENTER, // of ellipse
     SNAPSOURCE_GUIDE,