mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Fixed indents
This commit is contained in:
parent
56ae5bbafb
commit
5583bab9d4
@ -315,7 +315,7 @@ constexpr Key operator-(uint32_t a, Key b) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr Key &operator-=(Key &a, int b) {
|
constexpr Key &operator-=(Key &a, int b) {
|
||||||
a = static_cast<Key>(static_cast<int>(a) - static_cast<int>(b));
|
a = static_cast<Key>(static_cast<int>(a) - static_cast<int>(b));
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -340,17 +340,17 @@ constexpr Key operator|(Key a, Key b) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr Key &operator|=(Key &a, Key b) {
|
constexpr Key &operator|=(Key &a, Key b) {
|
||||||
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
|
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr Key &operator|=(Key &a, KeyModifierMask b) {
|
constexpr Key &operator|=(Key &a, KeyModifierMask b) {
|
||||||
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
|
a = static_cast<Key>(static_cast<int>(a) | static_cast<int>(b));
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr Key &operator&=(Key &a, KeyModifierMask b) {
|
constexpr Key &operator&=(Key &a, KeyModifierMask b) {
|
||||||
a = static_cast<Key>(static_cast<int>(a) & static_cast<int>(b));
|
a = static_cast<Key>(static_cast<int>(a) & static_cast<int>(b));
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user