Improve docs

This commit is contained in:
Pieter Vander Vennet 2024-08-16 10:13:18 +02:00
parent f034fde1e1
commit eeb1ea7c41

View file

@ -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,
})
})