Commit 26d8a87
fix: adjust height calculation order in BluetoothApplet
1. Reordered the height calculation logic to prioritize maximum height
check before minimum height check
2. This prevents potential layout issues when content height exceeds
maximum allowed height
3. Maintains the same functionality but with more logical calculation
flow
4. The change ensures consistent behavior when dealing with edge cases
fix: 调整蓝牙小程序高度计算顺序
1. 重新排序高度计算逻辑,优先检查最大高度限制再检查最小高度限制
2. 防止当内容高度超过允许最大值时可能出现的布局问题
3. 保持相同功能但采用更合理的计算流程
4. 此变更确保处理边界情况时行为一致
Pms: BUG-3202391 parent 3ced55a commit 26d8a87
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 343 | | |
348 | 344 | | |
349 | 345 | | |
350 | 346 | | |
351 | 347 | | |
352 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
0 commit comments