From 6e8079dd5060e983909d8597f2517891ad281b14 Mon Sep 17 00:00:00 2001 From: Taras Greben Date: Fri, 26 Jun 2026 13:57:09 +0300 Subject: [PATCH] Typo fixed: Math.Pi --- docs/schema/components.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schema/components.js b/docs/schema/components.js index b7b4146..bb81dd9 100644 --- a/docs/schema/components.js +++ b/docs/schema/components.js @@ -436,7 +436,7 @@ wbDescriptorTransformed() { const geo = this.geometry(); const s = this._s; const hw = geo.w / 2 + 8, hh = geo.h / 2 + 8; - const rot = -(s.rotation || 0) * Math.Pi / 180; + const rot = -(s.rotation || 0) * Math.PI / 180; const dx = wx - s.x, dy = wy - s.y; const lx = dx * Math.cos(rot) - dy * Math.sin(rot); const ly = dx * Math.sin(rot) + dy * Math.cos(rot);