Added timer tool to map

This commit is contained in:
Mitchell McCaffrey
2020-08-04 15:40:32 +10:00
parent 558db7d88b
commit 6e0eb8e3ba
5 changed files with 135 additions and 1 deletions

View File

@@ -65,6 +65,11 @@ function Map({
type: "chebyshev",
scale: "5ft",
},
timer: {
hour: 0,
minute: 0,
second: 0,
},
});
function handleToolSettingChange(tool, change) {
@@ -148,6 +153,7 @@ function Map({
disabledControls.push("pan");
disabledControls.push("measure");
disabledControls.push("pointer");
disabledControls.push("timer");
}
if (!allowFogDrawing) {
disabledControls.push("fog");