mirror of
https://github.com/home-assistant/frontend.git
synced 2026-10-01 17:29:02 +01:00
* Migrate from Yarn to pnpm Switch the package manager to pnpm 11, keeping every resolved dependency version from yarn.lock. - Move resolutions to pnpm overrides and Yarn patches to patches/ - Enable supply-chain protection: 3 day minimum release age, trust policy that blocks provenance downgrades, and dependency build scripts denied by default - Declare dependencies that were imported but only available through Yarn's hoisting: zrender, @lezer/common, zxing-wasm, @babel/helper-compilation-targets, core-js-compat, @types/geojson - Look up pinned license overrides in pnpm's node_modules layout - Update CI, scripts, git hooks, Renovate, and documentation * Cache the pnpm store with node_modules in CI Jobs that restore the shared node_modules cache skip the install, so the pnpm store is empty there. The license file generation runs `pnpm licenses list`, which reads package metadata from the store and fails without it. * Point the demo e2e comment at the real test:e2e:demo script --------- Co-authored-by: Claude <noreply@anthropic.com>
16 lines
697 B
Diff
16 lines
697 B
Diff
diff --git a/lib/component/helper/RoamController.js b/lib/component/helper/RoamController.js
|
|
index 95366713472f3ec5f3649547bb1fe202b806a2e6..e91f99229d554e79077486e1caf3602c8702ea66 100644
|
|
--- a/lib/component/helper/RoamController.js
|
|
+++ b/lib/component/helper/RoamController.js
|
|
@@ -305,9 +305,8 @@ var RoamController = /** @class */function (_super) {
|
|
if (interactionMutex.isTaken(this._zr, 'globalPan') || eventConsumed(e)) {
|
|
return;
|
|
}
|
|
- var scale = e.pinchScale > 1 ? 1.1 : 1 / 1.1;
|
|
this._checkTriggerMoveZoom(this, 'zoom', null, e, {
|
|
- scale: scale,
|
|
+ scale: e.pinchScale,
|
|
originX: e.pinchX,
|
|
originY: e.pinchY,
|
|
isAvailableBehavior: null
|