mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
Part of #33027.
This commit is contained in:
parent
e956e80c1f
commit
69de7ce38c
91 changed files with 4146 additions and 1632 deletions
|
|
@ -785,11 +785,16 @@ static int _get_key_modifier_setting(const String &p_property) {
|
|||
|
||||
switch (EditorSettings::get_singleton()->get(p_property).operator int()) {
|
||||
|
||||
case 0: return 0;
|
||||
case 1: return KEY_SHIFT;
|
||||
case 2: return KEY_ALT;
|
||||
case 3: return KEY_META;
|
||||
case 4: return KEY_CONTROL;
|
||||
case 0:
|
||||
return 0;
|
||||
case 1:
|
||||
return KEY_SHIFT;
|
||||
case 2:
|
||||
return KEY_ALT;
|
||||
case 3:
|
||||
return KEY_META;
|
||||
case 4:
|
||||
return KEY_CONTROL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue