Made grid snapping have a threshold and removed the option to toggle it on and off
This commit is contained in:
@@ -49,18 +49,16 @@ function Map({
|
||||
|
||||
const [selectedToolId, setSelectedToolId] = useState("pan");
|
||||
const [toolSettings, setToolSettings] = useState({
|
||||
fog: { type: "add", useGridSnapping: false, useEdgeSnapping: true },
|
||||
fog: { type: "add", useEdgeSnapping: true },
|
||||
brush: {
|
||||
color: "darkGray",
|
||||
type: "stroke",
|
||||
useBlending: false,
|
||||
useGridSnapping: false,
|
||||
},
|
||||
shape: {
|
||||
color: "red",
|
||||
type: "rectangle",
|
||||
useBlending: true,
|
||||
useGridSnapping: false,
|
||||
},
|
||||
});
|
||||
function handleToolSettingChange(tool, change) {
|
||||
|
||||
Reference in New Issue
Block a user