Additional cleanup

Cleaned up some additional stuff that I found
This commit is contained in:
W2.Wizard
2021-02-21 18:17:35 +01:00
parent 8b3fc9842d
commit 35b687bf3d
21 changed files with 142 additions and 151 deletions

View File

@@ -156,7 +156,6 @@ namespace FlaxEditor.Surface
/// <param name="height">The height.</param>
protected void Resize(float width, float height)
{
var prevSize = Size;
Size = CalculateNodeSize(width, height);
// Update boxes on width change
@@ -791,7 +790,7 @@ namespace FlaxEditor.Surface
/// <inheritdoc />
public override bool OnShowTooltip(out string text, out Vector2 location, out Rectangle area)
{
var result = base.OnShowTooltip(out text, out location, out area);
var result = base.OnShowTooltip(out text, out _, out area);
// Change the position
location = new Vector2(_headerRect.Width * 0.5f, _headerRect.Bottom);