From eeb1ea7c4148495944ef2ebe892283ed2e214fe3 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 16 Aug 2024 10:13:18 +0200 Subject: [PATCH] Improve docs --- src/Models/ThemeConfig/DependencyCalculator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Models/ThemeConfig/DependencyCalculator.ts b/src/Models/ThemeConfig/DependencyCalculator.ts index 41f0e3050..0b2b814c9 100644 --- a/src/Models/ThemeConfig/DependencyCalculator.ts +++ b/src/Models/ThemeConfig/DependencyCalculator.ts @@ -48,8 +48,8 @@ export default class DependencyCalculator { preset.preciseInput?.snapToLayers?.forEach((id) => { deps.push({ neededLayer: id, - reason: "a preset snaps to this layer", - context: "presets[" + i + "]", + reason: `preset \`${preset.title.textFor("en")}\` snaps to this layer`, + context: `${layer.id}.presets[${i}]`, neededBy: layer.id, }) })