Skip to content

Commit

Permalink
* fix ubs build window was retaining focus
Browse files Browse the repository at this point in the history
  • Loading branch information
kwnetzwelt committed Sep 1, 2022
1 parent df6b6ac commit d5a7b69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Editor/BuildWindow/UBSBuildWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,9 @@ protected override void OnGUI()
if (!mInit) {
Initialize();
}

var window = GetWindow<UBSBuildWindow>();
_width = window.position.width;
_width = position.width;
_elementWidth = _width - 2 * kMargin;
_buildProcessListHeight = window.position.height - 335;
_buildProcessListHeight = position.height - 335;
if (mEmpty) {
// still no process existing?
GUILayout.Label("Nothing to build", Styles.BigHint);
Expand Down

0 comments on commit d5a7b69

Please sign in to comment.