Skip to content

Commit

Permalink
fix: dynamic size (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLLspectre authored Jun 7, 2024
1 parent bd5fa35 commit c8eeb01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/Editor/Isometric Workflow/IsometricWorkflowUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public void DrawStartGUI(Rect _dimension)
/// <param name="_dimension">The dimensions of the UI element.</param>
public void DrawBaseGUI(Rect _dimension)
{
isometricWorkflow.minSize = new Vector2(1024, 650);
isometricWorkflow.maxSize = new Vector2(1680, 920);

DrawBackground(_dimension);
Expand Down Expand Up @@ -784,6 +785,7 @@ public void DrawAssetsGUI(Rect _dimension)
public void DrawValidationGUI(Rect _dimension)
{
DrawBackground(_dimension);
isometricWorkflow.minSize = new Vector2(1480, 650);
CustomStyle.Space();
CustomStyle.Label("Step 5. Validation", 18, TextAnchor.UpperLeft, bold: true);
CustomStyle.Label("Choose the final images:", 18, TextAnchor.UpperLeft, bold: true);
Expand Down

0 comments on commit c8eeb01

Please sign in to comment.