mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:28:46 +02:00
tabs
This commit is contained in:
parent
9013eee352
commit
e0e9a7de15
6 changed files with 25 additions and 25 deletions
|
@ -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: {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
@ -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: "",
|
||||||
|
|
Loading…
Reference in a new issue