(delta)
| 1411 | } |
| 1412 | |
| 1413 | function adjustUiZoom(delta) { |
| 1414 | const current = Number(settings?.value?.uiZoom) || 100; |
| 1415 | const next = Math.min(160, Math.max(70, current + delta)); |
| 1416 | settings.value.uiZoom = next; |
| 1417 | settings.update(false); |
| 1418 | return true; |
| 1419 | } |
| 1420 | |
| 1421 | function parseKeyString(keyString) { |
| 1422 | if (!keyString) return []; |
no test coverage detected