Skip to content

Commit 25c23a2

Browse files
authored
Add names for signs in ShortcutManager (#5730)
1 parent e057a2b commit 25c23a2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

source/MRViewer/MRShortcutManager.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ std::string ShortcutManager::getKeyString( int key )
145145
{
146146
return std::string( "Enter" );
147147
}
148+
else if ( key == GLFW_KEY_EQUAL )
149+
{
150+
return std::string( "=" );
151+
}
152+
else if ( key == GLFW_KEY_MINUS )
153+
{
154+
return std::string( "-" );
155+
}
148156
else
149157
{
150158
switch ( key )

0 commit comments

Comments
 (0)