diff --git a/v2/internal/frontend/desktop/darwin/WailsMenu.m b/v2/internal/frontend/desktop/darwin/WailsMenu.m index 66e5dd39948..7e36da99a8f 100644 --- a/v2/internal/frontend/desktop/darwin/WailsMenu.m +++ b/v2/internal/frontend/desktop/darwin/WailsMenu.m @@ -184,16 +184,16 @@ - (NSString*) accel :(NSString*)key { return unicode(0x001b); } if( [key isEqualToString:@"left"] ) { - return unicode(0x001c); + return unicode(0xf702); } if( [key isEqualToString:@"right"] ) { - return unicode(0x001d); + return unicode(0xf703); } if( [key isEqualToString:@"up"] ) { - return unicode(0x001e); + return unicode(0xf700); } if( [key isEqualToString:@"down"] ) { - return unicode(0x001f); + return unicode(0xf701); } if( [key isEqualToString:@"space"] ) { return unicode(0x0020); diff --git a/v3/pkg/application/menuitem_darwin.go b/v3/pkg/application/menuitem_darwin.go index 2093d15ff74..714851bb533 100644 --- a/v3/pkg/application/menuitem_darwin.go +++ b/v3/pkg/application/menuitem_darwin.go @@ -103,16 +103,16 @@ NSString* translateKey(NSString* key) { return unicode(0x001b); } if( [key isEqualToString:@"left"] ) { - return unicode(0x001c); + return unicode(0xf702); } if( [key isEqualToString:@"right"] ) { - return unicode(0x001d); + return unicode(0xf703); } if( [key isEqualToString:@"up"] ) { - return unicode(0x001e); + return unicode(0xf700); } if( [key isEqualToString:@"down"] ) { - return unicode(0x001f); + return unicode(0xf701); } if( [key isEqualToString:@"space"] ) { return unicode(0x0020);