Commit ceb3e50
committed
Fix lack of delay in initial firing of timer on osx (Fixes #11985)
One of the arugments when creating a timer on OSX is the time of first
fire. We were passing 0, which puts the time in the past, which means it
fires as soon as possible. Change to calculate what that time should be.1 parent 30746c5 commit ceb3e50
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2422 | 2422 | | |
2423 | 2423 | | |
2424 | 2424 | | |
| 2425 | + | |
2425 | 2426 | | |
2426 | 2427 | | |
2427 | 2428 | | |
| |||
2446 | 2447 | | |
2447 | 2448 | | |
2448 | 2449 | | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2449 | 2454 | | |
2450 | 2455 | | |
2451 | 2456 | | |
2452 | 2457 | | |
2453 | | - | |
2454 | | - | |
| 2458 | + | |
2455 | 2459 | | |
2456 | 2460 | | |
2457 | 2461 | | |
| |||
2475 | 2479 | | |
2476 | 2480 | | |
2477 | 2481 | | |
2478 | | - | |
| 2482 | + | |
2479 | 2483 | | |
2480 | 2484 | | |
2481 | 2485 | | |
| |||
0 commit comments