Add setting to use a static color for the first speed instead of player color (resolves #10)

This commit is contained in:
Manuel Vögele
2021-02-08 16:27:11 +01:00
parent c09a85b470
commit 82685a1a2f
4 changed files with 16 additions and 1 deletions
+9
View File
@@ -53,4 +53,13 @@ export function registerSettings() {
type: Number,
default: getDefaultDashMultiplier(),
})
game.settings.register(settingsKey, "staticFirstColor", {
name: "drag-ruler.settings.staticFirstColor.name",
hint: "drag-ruler.settings.staticFirstColor.hint",
scope: "world",
config: true,
type: Boolean,
default: false,
})
}