Skip to content

Commit

Permalink
Merge pull request #27 from gjh33/master
Browse files Browse the repository at this point in the history
Fix non expanding IMGUIContainer
  • Loading branch information
marijnz authored Apr 15, 2022
2 parents df8031d + a2822a5 commit 8a4ee26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/ToolbarCallback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void RegisterCallback(string root, Action cb) {
}
};
var container = new IMGUIContainer();
container.style.flexGrow = 1;
container.onGUIHandler += () => {
cb?.Invoke();
};
Expand Down

0 comments on commit 8a4ee26

Please sign in to comment.