1.4.0: Added build target picker and build button to toolbar

This commit is contained in:
Anders Ejlersen 2022-02-13 19:57:25 +01:00
parent 0b147a9144
commit 03200cc370
10 changed files with 254 additions and 7 deletions

View file

@ -61,11 +61,11 @@ namespace Module.NavigationTool.Editor.Toolbar
if (drawer.Visible && !valid)
{
var rect = new Rect(0.0f, 0.0f, drawer.CalculateWidth(), HEIGHT);
var rect = new Rect(2.0f, 0.0f, drawer.CalculateWidth(), HEIGHT);
drawer.Setup(rect);
var container = new ToolbarIMGUIContainer(drawer.OnGUI, drawer.Priority);
container.style.width = rect.width;
container.style.width = rect.width + 4.0f;
DICT_MAPPING.Add(drawer, container);
added = true;