-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Labels
CleanupCode cleanupCode cleanup
Description
Description
A bunch of the indentations in AssetBrowser.cpp, especially with events/lambda, are messed-up since #422
Let's address that!
Example:
renameMenu.ClickedEvent += [this, &nameEditor]
{
nameEditor.content = OvTools::Utils::PathParser::GetElementName(filePath);
if (!std::filesystem::is_directory(filePath))
if (size_t pos = nameEditor.content.rfind('.'); pos != std::string::npos)
nameEditor.content = nameEditor.content.substr(0, pos);
};Metadata
Metadata
Assignees
Labels
CleanupCode cleanupCode cleanup