clang-format: Disable alignment of operands, too unreliable
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
This commit is contained in:
@ -348,7 +348,7 @@ bool FileDialog::_is_open_should_be_disabled() {
|
||||
|
||||
// Opening a file, but selected a folder? Forbidden.
|
||||
return ((mode == FILE_MODE_OPEN_FILE || mode == FILE_MODE_OPEN_FILES) && d["dir"]) || // Flipped case, also forbidden.
|
||||
(mode == FILE_MODE_OPEN_DIR && !d["dir"]);
|
||||
(mode == FILE_MODE_OPEN_DIR && !d["dir"]);
|
||||
}
|
||||
|
||||
void FileDialog::_go_up() {
|
||||
|
||||
Reference in New Issue
Block a user