• Caffeinix's avatar
    Reorders menu item button shortcuts on Mac-like platforms (#129309) · a4f79066
    Caffeinix authored
    The Apple Human Interface Guidelines give a specific ordering of the symbols
    used as modifier keys in menu shortcuts.  These guidelines are encoded into
    the native Cocoa or UIKit menu classes, and are intended to ensure that symbols
    are always aligned into columns of like symbols and do not move around in the
    case of dynamic menu items (for example, holding Option will transform certain
    menu items into different versions that take the Option key, so the Option key
    symbol appears to the left of most other symbols to avoid reordering).
    
    The Material spec says to use symbols for modifier keys on Mac and iOS, as this
    is what users there are familiar with.  It stands to reason that we should
    follow the platform guidelines fully, so this changes the MenuItemButton class
    to honor the HIG-compliant symbol ordering on Mac and iOS.
    
    Fixed: #129308
    a4f79066
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flutter_web_plugins Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
integration_test Loading commit data...
analysis_options.yaml Loading commit data...