Commit 4b26b4d
committed
Allow negative horizontal/vertical menu offsets (#1629)
Menu offsets were previously applied to s_MainMenuLimits.
Though when deciding where to put start menu (CalculateCorner) we are
now taking into account also position of start button (as since Win11 it
may not be in corner of the screen).
This broke negative menu offsets.
We will fix it by applying menu offsets in CalculateCorner as a last
step once we have determined start menu position.
This should make even more sense than previous approach.1 parent 2f251c4 commit 4b26b4d
1 file changed
+3
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7509 | 7509 | | |
7510 | 7510 | | |
7511 | 7511 | | |
7512 | | - | |
7513 | | - | |
7514 | | - | |
7515 | | - | |
7516 | | - | |
7517 | | - | |
7518 | | - | |
7519 | | - | |
7520 | | - | |
7521 | | - | |
7522 | | - | |
7523 | | - | |
7524 | | - | |
7525 | | - | |
7526 | | - | |
7527 | | - | |
7528 | | - | |
7529 | | - | |
7530 | | - | |
7531 | | - | |
7532 | | - | |
7533 | | - | |
7534 | | - | |
7535 | | - | |
7536 | | - | |
7537 | 7512 | | |
7538 | 7513 | | |
7539 | 7514 | | |
| |||
7560 | 7535 | | |
7561 | 7536 | | |
7562 | 7537 | | |
| 7538 | + | |
| 7539 | + | |
| 7540 | + | |
7563 | 7541 | | |
7564 | 7542 | | |
7565 | 7543 | | |
| |||
0 commit comments