Skip to content

Commit

Permalink
chore(ui): set a minimum size for the error report window
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore committed Jan 27, 2024
1 parent dd06883 commit b9ce6a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [1.3.0-rc.5] - [2024-01-21]

### Changed
- Set a minimum size for the error report window (#127)

## [1.3.0-rc.4] - [2024-01-21]

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions Editor/ErrorReporting/UI/ErrorReportWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public GameObject CurrentAvatar
[ExcludeFromDocs]
public void CreateGUI()
{
minSize = new Vector2(300, 400);

// Each editor window contains a root VisualElement object
VisualElement root = rootVisualElement;
root.AddToClassList("WindowRoot");
Expand Down

0 comments on commit b9ce6a6

Please sign in to comment.