mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Add True and False tests for bitwise enums
This commit is contained in:
@@ -405,7 +405,7 @@ void FileBrowser::touchMove(const boo::STouchCoord& coord, uintptr_t tid) {}
|
||||
void FileBrowser::charKeyDown(unsigned long charcode, boo::EModifierKey mod, bool isRepeat) {
|
||||
if (skipBuildInAnimation() || closed())
|
||||
return;
|
||||
if ((mod & boo::EModifierKey::CtrlCommand) != boo::EModifierKey::None && !isRepeat) {
|
||||
if (True(mod & boo::EModifierKey::CtrlCommand) && !isRepeat) {
|
||||
if (charcode == 'h' || charcode == 'H')
|
||||
setShowingHidden(!showingHidden());
|
||||
else if (charcode == 'r' || charcode == 'R')
|
||||
|
||||
Reference in New Issue
Block a user