Доработки

This commit is contained in:
NikitaKalitov
2026-07-15 09:16:04 +03:00
parent 8bbee2dc7e
commit be2504d60d
7 changed files with 133 additions and 54 deletions
+13
View File
@@ -21,6 +21,8 @@ interface NodeInspectorProps {
onEnterSubProcess: (nodeId: string) => void;
onDuplicate: () => void;
onDelete: () => void;
onBringToFront: () => void;
onSendToBack: () => void;
}
export function NodeInspector({
@@ -33,6 +35,8 @@ export function NodeInspector({
onEnterSubProcess,
onDuplicate,
onDelete,
onBringToFront,
onSendToBack,
}: NodeInspectorProps) {
if (mode === 'view') {
const hasMeta = Boolean(data.responsible || data.duration);
@@ -88,6 +92,15 @@ export function NodeInspector({
</button>
</div>
<div className="node-inspector__toolbar">
<button type="button" onClick={onBringToFront}>
На передний план
</button>
<button type="button" onClick={onSendToBack}>
На задний план
</button>
</div>
<label className="node-inspector__field node-inspector__field--color">
Цвет фона
<input