Change type of TextSize to float
This commit is contained in:
1 parent
0416a650a0
commit
0850f83787
5 files changed
+5
-5
No files matched your search
@@ -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