Merge branch 'Tryibion-fix-rich-text-box-border-vars'
This commit is contained in:
@@ -233,7 +233,8 @@ namespace FlaxEngine.GUI
|
|||||||
if (IsMouseOver || IsNavFocused)
|
if (IsMouseOver || IsNavFocused)
|
||||||
backColor = BackgroundSelectedColor;
|
backColor = BackgroundSelectedColor;
|
||||||
Render2D.FillRectangle(rect, backColor);
|
Render2D.FillRectangle(rect, backColor);
|
||||||
Render2D.DrawRectangle(rect, IsFocused ? BorderSelectedColor : BorderColor);
|
if (HasBorder)
|
||||||
|
Render2D.DrawRectangle(rect, IsFocused ? BorderSelectedColor : BorderColor, BorderThickness);
|
||||||
|
|
||||||
// Apply view offset and clip mask
|
// Apply view offset and clip mask
|
||||||
if (ClipText)
|
if (ClipText)
|
||||||
|
|||||||
Reference in New Issue
Block a user