From ce4f820a033fdaebcbbee4efe5d916c3f3ad10b9 Mon Sep 17 00:00:00 2001 From: Matysh Date: Sat, 26 Sep 2026 22:08:28 +0300 Subject: [PATCH] =?UTF-8?q?test(mutation):=20=D1=81=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D1=81=D0=B2=D0=B8=D0=B4=D0=B5=D1=82=D0=B5?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=BB=D0=B5=D1=81=D1=82=D0=BD=D0=B8=D1=86=20?= =?UTF-8?q?=D0=BD=D0=B5=D1=8D=D0=BA=D0=B2=D0=B8=D0=B2=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=D0=BD=D1=8B=D0=BC=D0=B8=20(#663)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: #663 User-Visible: no --- scripts/mutation-registry.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mutation-registry.mjs b/scripts/mutation-registry.mjs index c872e4e6..8d1945d8 100644 --- a/scripts/mutation-registry.mjs +++ b/scripts/mutation-registry.mjs @@ -104,7 +104,7 @@ const MUTANT_DEFINITIONS = [ patches: [{ file: 'src/stairs-view.ts', find: ' if (!active || this.owner._suppressClick || this.suppressClick\n', - replace: ' if (!active || this.suppressClick\n', + replace: ' if (!active\n', }], }, { @@ -127,7 +127,7 @@ const MUTANT_DEFINITIONS = [ find: ' this.write(this.stairs.map((item) => item.id === next.id ? next : item));\n' + ' this.owner._recordGeometry(this.owner._t(\'history.stair_edit\'), before);\n', replace: ' this.write(this.stairs.map((item) => item.id === next.id ? next : item));\n' - + ' const mirror = this.owner._model.find((item) => item.id === dialog.targetSpaceId);\n' + + ' const mirror = (this.owner as unknown as { _serverCfg: { spaces: Array<{ id: string; stairs?: Stair[] }> } })._serverCfg.spaces.find((item) => item.id === dialog.targetSpaceId);\n' + ' if (mirror) mirror.stairs = [...(mirror.stairs || []), { ...next, id: `${next.id}-mirror` }];\n' + ' this.owner._recordGeometry(this.owner._t(\'history.stair_edit\'), before);\n', }],