Cleanup 3
This commit is contained in:
@@ -165,7 +165,7 @@ namespace FlaxEngine.GUI
|
||||
|
||||
// Draw selection background
|
||||
float alpha = Mathf.Min(1.0f, Mathf.Cos(_animateTime * BackgroundSelectedFlashSpeed) * 0.5f + 1.3f);
|
||||
alpha = alpha * alpha;
|
||||
alpha *= alpha;
|
||||
Color selectionColor = SelectionColor * alpha;
|
||||
//
|
||||
int selectedLinesCount = 1 + Mathf.FloorToInt((rightEdge.Y - leftEdge.Y) / fontHeight);
|
||||
|
||||
Reference in New Issue
Block a user