Commit 45e4744
committed
Mirror H scrollbar visibility guard in Panel::doUpdate reset branch
Robosturm review feedback on PR Robosturm#1959: the V-axis branch was tightened
to reset content X only when the scrollbar is hidden, but the H-axis
branch kept a bare else that snapped Y to 0 every frame the scrollbar
was visible but div<=0. Apply the same !getVisible() guard to H so
both axes behave symmetrically.1 parent 95964d8 commit 45e4744
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments