Fix horizontal and vertical props in entity properties being swapped

This commit is contained in:
Ryan Huffman 2018-11-02 16:20:35 -07:00
parent 25be635b76
commit c22df4dd94

View file

@ -902,13 +902,13 @@ const GROUPS = [
{ {
label: "Horizontal Angle Start", label: "Horizontal Angle Start",
type: "slider", type: "slider",
min: -180, min: 0,
max: 0, max: 180,
step: 1, step: 1,
decimals: 0, decimals: 0,
multiplier: DEGREES_TO_RADIANS, multiplier: DEGREES_TO_RADIANS,
unit: "deg", unit: "deg",
propertyID: "azimuthStart", propertyID: "polarStart",
}, },
{ {
label: "Horizontal Angle Finish", label: "Horizontal Angle Finish",
@ -919,18 +919,18 @@ const GROUPS = [
decimals: 0, decimals: 0,
multiplier: DEGREES_TO_RADIANS, multiplier: DEGREES_TO_RADIANS,
unit: "deg", unit: "deg",
propertyID: "azimuthFinish", propertyID: "polarFinish",
}, },
{ {
label: "Vertical Angle Start", label: "Vertical Angle Start",
type: "slider", type: "slider",
min: 0, min: -180,
max: 180, max: 0,
step: 1, step: 1,
decimals: 0, decimals: 0,
multiplier: DEGREES_TO_RADIANS, multiplier: DEGREES_TO_RADIANS,
unit: "deg", unit: "deg",
propertyID: "polarStart", propertyID: "azimuthStart",
}, },
{ {
label: "Vertical Angle Finish", label: "Vertical Angle Finish",
@ -941,7 +941,7 @@ const GROUPS = [
decimals: 0, decimals: 0,
multiplier: DEGREES_TO_RADIANS, multiplier: DEGREES_TO_RADIANS,
unit: "deg", unit: "deg",
propertyID: "polarFinish", propertyID: "azimuthFinish",
}, },
] ]
}, },