This commit is contained in:
David Back 2019-01-04 18:35:00 -08:00
parent 9013eee352
commit e0e9a7de15
6 changed files with 25 additions and 25 deletions

View file

@ -190,8 +190,8 @@ TabBar {
editTabView.currentIndex = 2 editTabView.currentIndex = 2
} }
} }
NewEntityButton { NewEntityButton {
icon: "icons/create-icons/21-cube-01.svg" icon: "icons/create-icons/21-cube-01.svg"
text: "GRID" text: "GRID"
onClicked: { onClicked: {

View file

@ -196,8 +196,8 @@ TabBar {
editTabView.currentIndex = tabIndex.properties editTabView.currentIndex = tabIndex.properties
} }
} }
NewEntityButton { NewEntityButton {
icon: "icons/create-icons/21-cube-01.svg" icon: "icons/create-icons/21-cube-01.svg"
text: "GRID" text: "GRID"
onClicked: { onClicked: {

View file

@ -892,8 +892,8 @@ var toolBar = (function () {
}); });
addButton("newMaterialButton", createNewEntityDialogButtonCallback("Material")); addButton("newMaterialButton", createNewEntityDialogButtonCallback("Material"));
addButton("newGridButton", function () { addButton("newGridButton", function () {
createNewEntity({ createNewEntity({
type: "Grid", type: "Grid",
}); });

View file

@ -153,7 +153,7 @@ const FILTER_TYPES = [
"PolyLine", "PolyLine",
"PolyVox", "PolyVox",
"Text", "Text",
"Grid", "Grid",
]; ];
const DOUBLE_CLICK_TIMEOUT = 300; // ms const DOUBLE_CLICK_TIMEOUT = 300; // ms

View file

@ -646,7 +646,7 @@ const GROUPS = [
}, },
] ]
}, },
{ {
id: "grid", id: "grid",
addToGroup: "base", addToGroup: "base",
properties: [ properties: [
@ -663,17 +663,17 @@ const GROUPS = [
{ {
label: "Major Grid Every", label: "Major Grid Every",
type: "number-draggable", type: "number-draggable",
min: 0, min: 0,
step: 1, step: 1,
decimals: 0, decimals: 0,
propertyID: "majorGridEvery", propertyID: "majorGridEvery",
}, },
{ {
label: "Minor Grid Every", label: "Minor Grid Every",
type: "number-draggable", type: "number-draggable",
min: 0, min: 0,
step: 0.01, step: 0.01,
decimals: 2, decimals: 2,
propertyID: "minorGridEvery", propertyID: "minorGridEvery",
}, },
] ]

View file

@ -10,17 +10,17 @@
const ENTITY_TYPE_ICON = { const ENTITY_TYPE_ICON = {
Box: "m", Box: "m",
Grid: "V", Grid: "V",
Image: "", Image: "",
Light: "p", Light: "p",
Material: "", Material: "",
Model: "", Model: "",
ParticleEffect: "", ParticleEffect: "",
PolyVox: "", PolyVox: "",
PolyLine: "", PolyLine: "",
Shape: "n", Shape: "n",
Sphere: "n", Sphere: "n",
Text: "l", Text: "l",
Web: "q", Web: "q",
Zone: "o", Zone: "o",
Multiple: "", Multiple: "",