Commit 7ed269a
committed
Simplify window resizing to accommodate 11.2 API changes
Fixes #16. In 11.2 Blizzard made it so ClearAllPoints() invalidates the rect immediately, rather than the rect continuing to be a target that we can query GetLeft() and GetTop() from.1 parent c71a7aa commit 7ed269a
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | | - | |
430 | | - | |
| 433 | + | |
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
| |||
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
447 | | - | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 331 | | |
335 | 332 | | |
336 | | - | |
337 | 333 | | |
338 | 334 | | |
339 | 335 | | |
340 | 336 | | |
341 | | - | |
342 | | - | |
| 337 | + | |
343 | 338 | | |
344 | 339 | | |
345 | 340 | | |
| |||
0 commit comments