Changed Measure layer to be named text layer, as I am adding text only
Changed Measure layer to be named text layer, as I am adding text only
objects to it not related to measurment

--- a/source/lib/Dialogs/AddAccessory.js
+++ b/source/lib/Dialogs/AddAccessory.js
@@ -61,7 +61,7 @@
 
 				schem = editor.getSchematic();
 
-				acc = new AccessoryList(schem.newID(), Layer.MEASURE, cab.x, cab.y, 0, 0, 0, 0, 0);
+				acc = new AccessoryList(schem.newID(), Layer.TEXT, cab.x, cab.y, 0, 0, 0, 0, 0);
 
 				schem.addObject(acc);
 

--- a/source/lib/scripts/CabinetEditor/Config.js
+++ b/source/lib/scripts/CabinetEditor/Config.js
@@ -26,7 +26,7 @@
 		Config.layerColors[Layer.LOWER] =		'#0000FF';
 		Config.layerColors[Layer.FULL] =		'#FF0000';
 		Config.layerColors[Layer.WALL] =		'#000000';
-		Config.layerColors[Layer.MEASURE] =		'#000000';
+		Config.layerColors[Layer.TEXT] =		'#000000';
 
 		Config.defaultKitchen = '{"objects":[],"ceiling_height":100,"name":"Untitled","selected_layer":1,"distance_snap":1,"angle_snap":45,"scale":3.855432894295314,"offset_x":37.75282960549503,"offset_y":11.403047939040372}';
 

--- a/source/lib/scripts/CabinetEditor/Defines/Layer.js
+++ b/source/lib/scripts/CabinetEditor/Defines/Layer.js
@@ -23,7 +23,7 @@
 			/** Wall */
 			WALL:  4,
 
-			MEASURE: 5 // TODO change to text layer
+			TEXT: 5 // TODO change to text layer
 
 	};
 

--- a/source/lib/scripts/CabinetEditor/Schematic/Other/Measurements/Measurement.js
+++ b/source/lib/scripts/CabinetEditor/Schematic/Other/Measurements/Measurement.js
@@ -34,7 +34,7 @@
 
 		var Measurement = function(id, x, y, visible){
 
-			SchematicObject.call(this, id, Layer.MEASURE);
+			SchematicObject.call(this, id, Layer.TEXT);
 
 			// Rotated Offset from object to draw measurment at
 			this.x = x;

--- a/source/lib/scripts/CabinetEditor/Schematic/Other/Measurements/P2PMeasurement.js
+++ b/source/lib/scripts/CabinetEditor/Schematic/Other/Measurements/P2PMeasurement.js
@@ -26,7 +26,7 @@
 
 		var P2PMeasurement = function(id, pt1, pt2, textPoint){
 
-			SchematicObject.call(this, id, Layer.MEASURE);
+			SchematicObject.call(this, id, Layer.TEXT);
 			this.pt1 = pt1;
 			this.pt2 = pt2;
 			this.textPoint = textPoint;