mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-11-09 10:14:46 +00:00
Fix message in timeline for panning
This commit is contained in:
@@ -22,7 +22,6 @@ import {
|
|||||||
useLayout,
|
useLayout,
|
||||||
} from "../../hooks";
|
} from "../../hooks";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { diagram } from "../../data/heroDiagram";
|
|
||||||
import { useEventListener } from "usehooks-ts";
|
import { useEventListener } from "usehooks-ts";
|
||||||
|
|
||||||
export default function Canvas() {
|
export default function Canvas() {
|
||||||
@@ -340,7 +339,7 @@ export default function Canvas() {
|
|||||||
redo: transform.pan,
|
redo: transform.pan,
|
||||||
message: t("move_element", {
|
message: t("move_element", {
|
||||||
coords: `(${transform?.pan.x}, ${transform?.pan.y})`,
|
coords: `(${transform?.pan.x}, ${transform?.pan.y})`,
|
||||||
name: diagram,
|
name: "diagram",
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user