Change type of TextSize to float
This commit is contained in:
@ -347,7 +347,7 @@ class TextEdit extends Control implements MultiLineable, Scriptable, Styleable,
|
||||
*/
|
||||
public function setTextSize($textSize)
|
||||
{
|
||||
$this->textSize = (int)$textSize;
|
||||
$this->textSize = (float)$textSize;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user