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
}
}
NewEntityButton {
NewEntityButton {
icon: "icons/create-icons/21-cube-01.svg"
text: "GRID"
onClicked: {

View file

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

View file

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

View file

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

View file

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

View file

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