Updated FML to newest version

This commit is contained in:
Jocy committed 2017-04-02 16:32:57 +02:00
1 parent 83710a9269
commit c5926aded2
21 files changed
+1425 -995

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ class TextEdit extends Control implements MultiLineable, Scriptable, Styleable,
/**
* @var float $lineSpacing Line spacing
*/
protected $lineSpacing = -1.;
protected $lineSpacing = 1.;
/**
* @var int $maxLines Maximum number of lines
@@ -406,7 +406,7 @@ class TextEdit extends Control implements MultiLineable, Scriptable, Styleable,
if ($this->autoNewLine) {
$domElement->setAttribute("autonewline", 1);
}
if ($this->lineSpacing > 0) {
if ($this->lineSpacing !== 1.) {
$domElement->setAttribute("linespacing", $this->lineSpacing);
}
if ($this->maxLines > 0) {