Forgot that cocoa blink interval time is in ms

This commit is contained in:
Kovid Goyal 2019-02-25 11:17:29 +05:30
parent 72ccf87d19
commit cff79bc9d4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -546,7 +546,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
OPT(cursor_blink_interval) = 0.5;
#ifdef __APPLE__
double cbi = cocoa_cursor_blink_interval();
if (cbi >= 0) OPT(cursor_blink_interval) = cbi / 2.0;
if (cbi >= 0) OPT(cursor_blink_interval) = cbi / 2000.0;
#endif
}
is_first_window = false;