fix tag of InputTask

This commit is contained in:
Adrien Piquerez 2024-02-12 15:28:57 +01:00
parent 739dedb017
commit 144b86e32e
1 changed files with 1 additions and 1 deletions

View File

@ -736,7 +736,7 @@ import Scoped.extendScoped
/** Constructs InputKeys, which are associated with input tasks to define a setting. */
object InputKey:
private given [A: ClassTag]: KeyTag[InputTask[A]] =
KeyTag.Task(summon[ClassTag[A]].runtimeClass)
KeyTag.InputTask(summon[ClassTag[A]].runtimeClass)
def apply[A1: ClassTag](label: String): InputKey[A1] =
apply[A1](label, "", KeyRanks.DefaultInputRank)