Remove CanvasText space hack.
With corrected alginment calculations within latest SimGear this hack is not needed anymore.
This commit is contained in:
parent
82797f0f55
commit
0bb3a1fe95
1 changed files with 1 additions and 2 deletions
|
@ -481,8 +481,7 @@ var Text = {
|
|||
# Set the text
|
||||
setText: func(text)
|
||||
{
|
||||
# add space because osg seems to remove last character if its a space
|
||||
me.set("text", typeof(text) == 'scalar' ? text ~ ' ' : "");
|
||||
me.set("text", typeof(text) == 'scalar' ? text : "");
|
||||
},
|
||||
# Set alignment
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue