Merge pull request #1299 from Azaezel/alpha41/abFixes

fix guiwindowCTRL callback
This commit is contained in:
Brian Roberts 2024-07-29 04:06:16 -05:00 committed by GitHub
commit 95c7e9f3f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -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();
}