1.4.0: Added build target picker and build button to toolbar
This commit is contained in:
parent
0b147a9144
commit
03200cc370
10 changed files with 254 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue