Merge branch 'label_text_clip_margin_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-label_text_clip_margin_fix
This commit is contained in:
@@ -192,7 +192,7 @@ namespace FlaxEngine.GUI
|
||||
var rect = new Rectangle(new Vector2(Margin.Left, Margin.Top), Size - Margin.Size);
|
||||
|
||||
if (ClipText)
|
||||
Render2D.PushClip(ref rect);
|
||||
Render2D.PushClip(new Rectangle(Vector2.Zero, Size));
|
||||
|
||||
var color = IsMouseOver ? TextColorHighlighted : TextColor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user