Reorder cases in selection.ts
This commit is contained in:
@@ -100,10 +100,10 @@ export function areEditorSelectionsEqual(left: EditorSelection, right: EditorSel
|
|||||||
return right.kind === "brushEdge" && left.brushId === right.brushId && left.edgeId === right.edgeId;
|
return right.kind === "brushEdge" && left.brushId === right.brushId && left.edgeId === right.edgeId;
|
||||||
case "brushVertex":
|
case "brushVertex":
|
||||||
return right.kind === "brushVertex" && left.brushId === right.brushId && left.vertexId === right.vertexId;
|
return right.kind === "brushVertex" && left.brushId === right.brushId && left.vertexId === right.vertexId;
|
||||||
case "terrains":
|
|
||||||
case "pathPoint":
|
case "pathPoint":
|
||||||
return right.kind === "pathPoint" && left.pathId === right.pathId && left.pointId === right.pointId;
|
return right.kind === "pathPoint" && left.pathId === right.pathId && left.pointId === right.pointId;
|
||||||
case "brushes":
|
case "brushes":
|
||||||
|
case "terrains":
|
||||||
case "paths":
|
case "paths":
|
||||||
case "entities":
|
case "entities":
|
||||||
case "modelInstances":
|
case "modelInstances":
|
||||||
|
|||||||
Reference in New Issue
Block a user