ui: Move Nodes icon shows the grid and the node's new position over it

The original 2×2 grid in the line colour, the moved node and its four
edges overlaid in the accent colour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-17 10:35:53 -04:00
1 parent ee09ff2fca
commit 53a370ed01
3 files changed
+5 -6

No files matched your search

+4 -5
View File
@@ -2,10 +2,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
<title>mesh.node.move</title> <title>mesh.node.move</title>
<g id="Layer_1" data-name="Layer 1"> <g id="Layer_1" data-name="Layer 1">
<path d="M4 4 L20 4 L20 20 L4 20 Z" fill="none" stroke="#dde2ea" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5 4 L19 4 C19.552 4 20 4.448 20 5 L20 19 C20 19.552 19.552 20 19 20 L5 20 C4.448 20 4 19.552 4 19 L4 5 C4 4.448 4.448 4 5 4 Z" fill="none" stroke="#dde2ea" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 4 L12 20 M4 12 L20 12" fill="none" stroke="#dde2ea" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="1.5 1.5"/> <path d="M4 12 L20 12 M12 4 L12 20" fill="none" stroke="#dde2ea" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 4 L16 8.5 M20 12 L16 8.5 M4 12 L16 8.5 M12 20 L16 8.5" fill="none" stroke="#dde2ea" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/> <path d="M4 12 L15 9 L20 12 M12 4 L15 9 L12 20" fill="none" stroke="#4f9ce8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10.7 12 C10.7 11.282 11.282 10.7 12 10.7 C12.718 10.7 13.3 11.282 13.3 12 C13.3 12.718 12.718 13.3 12 13.3 C11.282 13.3 10.7 12.718 10.7 12 Z" fill="none" stroke="#dde2ea" stroke-linecap="round" stroke-linejoin="round"/> <path d="M13.2 9 C13.2 8.006 14.006 7.2 15 7.2 C15.994 7.2 16.8 8.006 16.8 9 C16.8 9.994 15.994 10.8 15 10.8 C14.006 10.8 13.2 9.994 13.2 9 Z" fill="#4f9ce8" stroke="#4f9ce8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M13.6 8.5 C13.6 7.175 14.675 6.1 16 6.1 C17.325 6.1 18.4 7.175 18.4 8.5 C18.4 9.825 17.325 10.9 16 10.9 C14.675 10.9 13.6 9.825 13.6 8.5 Z" fill="#4f9ce8" stroke="#4f9ce8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
{"shapes": [{"rect": [4, 4, 16, 16], "stroke": "line", "width": 1.25}, {"d": "M12 4 L12 20 M4 12 L20 12", "stroke": "line", "width": 1.0, "dash": [1.5, 1.5]}, {"d": "M12 4 L16 8.5 M20 12 L16 8.5 M4 12 L16 8.5 M12 20 L16 8.5", "stroke": "line", "width": 1.25}, {"circle": [12, 12, 1.3], "stroke": "line", "width": 1.0}, {"circle": [16, 8.5, 2.4], "fill": "accent", "stroke": "accent"}]} {"shapes": [{"rect": [4, 4, 16, 16], "radius": 1, "stroke": "line", "width": 1.5}, {"d": "M4 12 L20 12 M12 4 L12 20", "stroke": "line", "width": 1.5}, {"d": "M4 12 L15 9 L20 12 M12 4 L15 9 L12 20", "stroke": "accent", "width": 1.5}, {"circle": [15, 9, 1.8], "fill": "accent", "stroke": "accent"}]}