mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #1299 from Azaezel/alpha41/abFixes
fix guiwindowCTRL callback
This commit is contained in:
commit
95c7e9f3f2
2 changed files with 11 additions and 1 deletions
|
|
@ -2891,4 +2891,14 @@ function AssetBrowserWindow::releasePanel(%this)
|
|||
%this.resizing = false;
|
||||
|
||||
EditorGui.updateSideBar();
|
||||
}
|
||||
|
||||
function AssetBrowserWindow::onResize(%this, %posX, %posY, %width, %height)
|
||||
{
|
||||
if (%width>%height)
|
||||
AssetBrowser-->assetList.fillRowFirst = true;
|
||||
else
|
||||
AssetBrowser-->assetList.fillRowFirst = false;
|
||||
|
||||
AssetBrowser.doRebuildAssetArray();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue