Skip to content

Clean-up AssetBrowser indentations #423

@adriengivry

Description

@adriengivry

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions