mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
UI defaults: removed optional "pressed " from InputMap dumps (to make it easier to read)
This commit is contained in:
@@ -314,7 +314,8 @@ public class UIDefaultsDump
|
||||
} );
|
||||
for( KeyStroke keyStroke : keys ) {
|
||||
Object value = inputMap.get( keyStroke );
|
||||
out.printf( "%n%s%-30s %s", indent, keyStroke, value );
|
||||
String strKeyStroke = keyStroke.toString().replace( "pressed ", "" );
|
||||
out.printf( "%n%s%-20s %s", indent, strKeyStroke, value );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user