From e7457546b03f1a5b6ed435ba0a00dd0c912b4a83 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Fri, 24 Mar 2023 14:51:24 +0100 Subject: [PATCH] [unity] Minor: whitespace correction of previous commit. --- .../Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs index 1040b6000..d89e43bf7 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs @@ -89,8 +89,8 @@ namespace Spine.Unity { #else protected const bool EditReferenceRect = false; #endif -/// Update mode to optionally limit updates to e.g. only apply animations but not update the mesh. -public UpdateMode UpdateMode { get { return updateMode; } set { updateMode = value; } } + /// Update mode to optionally limit updates to e.g. only apply animations but not update the mesh. + public UpdateMode UpdateMode { get { return updateMode; } set { updateMode = value; } } protected UpdateMode updateMode = UpdateMode.FullUpdate; /// Update mode used when the MeshRenderer becomes invisible @@ -1142,7 +1142,7 @@ public UpdateMode UpdateMode { get { return updateMode; } set { updateMode = val protected float GetLayoutScale (LayoutMode mode) { Vector2 currentSize = GetCurrentRectSize(); float referenceAspect = referenceSize.x / referenceSize.y; - float frameAspect = currentSize.x / currentSize.y; + float frameAspect = currentSize.x / currentSize.y; if (mode == LayoutMode.FitInParent) mode = frameAspect > referenceAspect ? LayoutMode.HeightControlsWidth : LayoutMode.WidthControlsHeight; else if (mode == LayoutMode.EnvelopeParent)