mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Update the default properties for text entities
This commit is contained in:
parent
2fb64e1989
commit
efed79d76c
1 changed files with 3 additions and 3 deletions
|
@ -424,11 +424,11 @@ var toolBar = (function () {
|
||||||
Entities.addEntity({
|
Entities.addEntity({
|
||||||
type: "Text",
|
type: "Text",
|
||||||
position: grid.snapToSurface(grid.snapToGrid(position, false, DEFAULT_DIMENSIONS), DEFAULT_DIMENSIONS),
|
position: grid.snapToSurface(grid.snapToGrid(position, false, DEFAULT_DIMENSIONS), DEFAULT_DIMENSIONS),
|
||||||
dimensions: DEFAULT_DIMENSIONS,
|
dimensions: { x: 0.5, y: 0.3, z: 0.01 },
|
||||||
backgroundColor: { red: 0, green: 0, blue: 0 },
|
backgroundColor: { red: 64, green: 64, blue: 64 },
|
||||||
textColor: { red: 255, green: 255, blue: 255 },
|
textColor: { red: 255, green: 255, blue: 255 },
|
||||||
text: "some text",
|
text: "some text",
|
||||||
lineHight: "0.1"
|
lineHeight: 0.06
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
print("Can't create box: Text would be out of bounds.");
|
print("Can't create box: Text would be out of bounds.");
|
||||||
|
|
Loading…
Reference in a new issue