Moved timer tool out of the map controls and into the party controls

This commit is contained in:
Mitchell McCaffrey
2020-08-04 16:26:53 +10:00
parent 6e0eb8e3ba
commit fc4d36963f
8 changed files with 145 additions and 113 deletions

View File

@@ -9,7 +9,6 @@ import SelectMapButton from "./SelectMapButton";
import FogToolSettings from "./controls/FogToolSettings";
import DrawingToolSettings from "./controls/DrawingToolSettings";
import MeasureToolSettings from "./controls/MeasureToolSettings";
import TimerToolSettings from "./controls/TimerToolSettings";
import PanToolIcon from "../../icons/PanToolIcon";
import FogToolIcon from "../../icons/FogToolIcon";
@@ -17,7 +16,6 @@ import BrushToolIcon from "../../icons/BrushToolIcon";
import MeasureToolIcon from "../../icons/MeasureToolIcon";
import ExpandMoreIcon from "../../icons/ExpandMoreIcon";
import PointerToolIcon from "../../icons/PointerToolIcon";
import TimerToolIcon from "../../icons/TimerToolIcon";
function MapContols({
onMapChange,
@@ -63,14 +61,8 @@ function MapContols({
icon: <PointerToolIcon />,
title: "Pointer Tool",
},
timer: {
id: "timer",
icon: <TimerToolIcon />,
title: "Timer Tool",
SettingsComponent: TimerToolSettings,
},
};
const tools = ["pan", "fog", "drawing", "measure", "pointer", "timer"];
const tools = ["pan", "fog", "drawing", "measure", "pointer"];
const sections = [
{