From 225f0e96a3fe75c835c3565cfa4cb1df9437e1d0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 1 May 2026 17:43:53 +0200 Subject: [PATCH] auto-git: [change] src/commands/apply-terrain-brush-patch-command.ts --- src/commands/apply-terrain-brush-patch-command.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/apply-terrain-brush-patch-command.ts b/src/commands/apply-terrain-brush-patch-command.ts index 7b085648..84cf73b2 100644 --- a/src/commands/apply-terrain-brush-patch-command.ts +++ b/src/commands/apply-terrain-brush-patch-command.ts @@ -6,7 +6,7 @@ import type { } from "../core/terrain-brush"; import type { ToolMode } from "../core/tool-mode"; -import type { EditorCommand } from "./command"; +import type { CommandContext, EditorCommand } from "./command"; interface ApplyTerrainBrushPatchCommandOptions { patch: TerrainBrushPatch; @@ -54,7 +54,7 @@ export function createApplyTerrainBrushPatchCommand( let previousToolMode: ToolMode | null = null; const applyPatch = ( - context: Parameters[0], + context: CommandContext, direction: "forward" | "backward" ) => { const currentDocument = context.getDocument();