Skip to content

Commit

Permalink
Set default zoom to min zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Nov 15, 2023
1 parent 5ad8e33 commit 4574b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/Cgs/Play/PlayController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class PlayController : MonoBehaviour, ICardDropHandler
public const string RestartPrompt = "Restart?";
public const string DefaultStackName = "Stack";

private const float DefaultZoom = 0.75f;
private const float DefaultZoom = 0.5f;
private const float PlayAreaBuffer = 8;
private const float DeckPositionBuffer = 50;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class RotateZoomableScrollRect : ScrollRect, IPointerEnterHandler, IPoint
{
private const float MinRotation = -180; // Also in PlayMatRotation slider
private const float MaxRotation = 180; // Also in PlayMatRotation slider
public const float MinZoom = 0.5f; // Also in PlayMatZoom slider
private const float MinZoom = 0.5f; // Also in PlayMatZoom slider
private const float MaxZoom = 1.5f; // Also in PlayMatZoom slider
private const float MouseRotationSensitivity = 360;
private const float ZoomLerpSpeed = 7.5f;
Expand Down

0 comments on commit 4574b38

Please sign in to comment.