Renamed pan to move and updated docs for 1.8.0

This commit is contained in:
Mitchell McCaffrey
2021-02-22 15:32:35 +11:00
parent 525398d2ec
commit ef91e65104
25 changed files with 176 additions and 69 deletions

View File

@@ -10,7 +10,7 @@ import FogToolSettings from "./controls/FogToolSettings";
import DrawingToolSettings from "./controls/DrawingToolSettings";
import PointerToolSettings from "./controls/PointerToolSettings";
import PanToolIcon from "../../icons/PanToolIcon";
import MoveToolIcon from "../../icons/MoveToolIcon";
import FogToolIcon from "../../icons/FogToolIcon";
import BrushToolIcon from "../../icons/BrushToolIcon";
import MeasureToolIcon from "../../icons/MeasureToolIcon";
@@ -39,10 +39,10 @@ function MapContols({
const [fullScreen, setFullScreen] = useSetting("map.fullScreen");
const toolsById = {
pan: {
id: "pan",
icon: <PanToolIcon />,
title: "Pan Tool (W)",
move: {
id: "move",
icon: <MoveToolIcon />,
title: "Move Tool (W)",
},
fog: {
id: "fog",
@@ -73,7 +73,7 @@ function MapContols({
title: "Note Tool (N)",
},
};
const tools = ["pan", "fog", "drawing", "measure", "pointer", "note"];
const tools = ["move", "fog", "drawing", "measure", "pointer", "note"];
const sections = [
{