mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-17 02:16:41 +08:00
[REPL] No longer ask user to scale to 50% in Retina mode.
This commit is contained in:
@@ -297,14 +297,6 @@ locate_app_windows_ids(void)
|
||||
if ([name rangeOfString:@"iPad"].location != NSNotFound) {
|
||||
simulator_device_family = DEVICE_FAMILY_IPAD;
|
||||
}
|
||||
|
||||
static bool displayed_mouse_over_message = false;
|
||||
if (simulator_retina_type && !displayed_mouse_over_message) {
|
||||
fprintf(stderr,
|
||||
"\n*** In retina mode, mouse-over requires 50%% window scale to work"\
|
||||
"\n*** (use command+3 in the iOS simulator)\n");
|
||||
displayed_mouse_over_message = true;
|
||||
}
|
||||
#else // !SIMULATOR_IOS
|
||||
int window_pid = [[dict objectForKey:@"kCGWindowOwnerPID"] intValue];
|
||||
if (window_pid != [osx_task processIdentifier]) {
|
||||
|
||||
Reference in New Issue
Block a user