1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Remove extra borders from the AssetLib plugin

This commit is contained in:
Michael Alexsander
2022-03-15 20:40:46 -03:00
parent eedb3cea53
commit fc0e657e8f
3 changed files with 7 additions and 1 deletions

View File

@@ -1895,6 +1895,11 @@ void ProjectManager::_notification(int p_what) {
// to search without having to reach for their mouse
search_box->grab_focus();
}
if (asset_library) {
// Removes extra border margins.
asset_library->add_theme_style_override("panel", memnew(StyleBoxEmpty));
}
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {