Commit 9b43821
committed
Add a workaround patch for PopupMenu subitem touch misses. (Codex)
In aap-juce-byod, there is an issue that those presets menu items
(particularly the actual presets) cannot be "selected" by touches.
It is most likely due to inconsistent coordinates caulculation, but
it's already too complicated (even for Codex) to find the right fix.
So, instead of the real fix, this patch first "ignores" item selection
on the first subitem hit testing. That skips the rest of the if-elif-elif...
conditions, so the popup does not dismiss. Then we can select a preset
subitem with (somehow) *correct* hit testing and the preset selection works.1 parent 08c03b2 commit 9b43821
1 file changed
Lines changed: 15 additions & 0 deletions
File tree
- juce-patches/7.0.11
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments