Remove Clipping tools show a small red cross on the clip icon

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-09-25 14:47:44 +03:00
1 parent 4d9379ad6e
commit cc7cae7d8e
2 files changed
+11

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64" fill="none" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="4" width="16" height="16" rx="1" stroke="#B4B6B9" stroke-width="1.5" stroke-dasharray="3 2"/>
<polygon points="4,4 14,4 14,14 4,14" fill="#6DB7ED" fill-opacity="0.15" stroke="#6DB7ED" stroke-width="1.5"/>
<line x1="14" y1="4" x2="14" y2="20" stroke="#6DB7ED" stroke-width="1.5" stroke-dasharray="3 2"/>
<line x1="4" y1="14" x2="20" y2="14" stroke="#6DB7ED" stroke-width="1.5" stroke-dasharray="3 2"/>
<circle cx="19" cy="19" r="4.3" fill="#1a1a1a"/>
<line x1="16.9" y1="16.9" x2="21.1" y2="21.1" stroke="#E53935" stroke-width="1.9"/>
<line x1="21.1" y1="16.9" x2="16.9" y2="21.1" stroke="#E53935" stroke-width="1.9"/>
</svg>

After

Width:  |  Height:  |  Size: 797 B

+2
View File
@@ -24,6 +24,8 @@ fn tool(id: &'static str, label: &'static str, icon: &'static [u8]) -> ToolDef {
}
const CLIP: &[u8] = include_bytes!("../../../assets/icons/xclip.svg");
/// The clip icon with a small red cross at its lower right.
const UNCLIP: &[u8] = include_bytes!("../../../assets/icons/xclip_remove.svg");
/// PDF underlay tools: display, clipping, options, layers and import.
pub fn pdf_underlay_tools() -> Vec<ToolDef> {