Codestyle formatting #1522

This commit is contained in:
Wojtek Figat
2023-10-04 22:25:27 +02:00
parent 2e6fa8fc25
commit 92f677f238
11 changed files with 74 additions and 72 deletions

View File

@@ -212,12 +212,12 @@ namespace FlaxEditor.Surface
// Yes, from and to are switched on purpose
if (CanUseDirectCastStatic(to, from, false))
return true;
if(IsTypeCompatible(from, to, hint))
if (IsTypeCompatible(from, to, hint))
return true;
// Same here
return to.CanCastTo(from);
}
/// <summary>
/// Checks if can use direct conversion from one type to another.
/// </summary>