Skip to content

Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.

fix(display): physical resolution scaling & add onboarding preview flyout slide with inline indicator selector

Deepender25d5ef1df04c7f
diff --git a/electron/main/window.ts b/electron/main/window.ts
index 6885eb4..eeb32e3 100644
--- a/electron/main/window.ts
+++ b/electron/main/window.ts
@@ -395,14 +395,18 @@ export function getDisplayListOptions(): Array<{
const name = isPrimary
? (baseName.toLowerCase().includes('primary') ? baseName : `${baseName} (Primary)`)
: baseName
+ const scale = d.scaleFactor || 1
+ const physW = Math.round(d.bounds.width * scale)
+ const physH = Math.round(d.bounds.height * scale)
+ const resolution = `${physW}×${physH}`
return {
id: d.id,
bounds: { x: d.bounds.x, y: d.bounds.y, width: d.bounds.width, height: d.bounds.height },
isPrimary,
isCurrent: d.id === activeId,
- label: `${name} ${d.bounds.width}×${d.bounds.height}`,
+ label: `${name} ${resolution}`,
name,
- resolution: `${d.bounds.width}×${d.bounds.height}`
+ resolution
}
})
}
diff --git a/public/preview.webm b/public/preview.webm
new file mode 100644
index 0000000..e993b17
Binary files /dev/null and b/public/preview.webm differ
diff --git a/scratch/generate_appx_tiles.cjs b/scratch/generate_appx_tiles.cjs
new file mode 100644
index 0000000..7f97190
--- /dev/null
+++ b/scratch/generate_appx_tiles.cjs
@@ -0,0 +1,69 @@
+const fs = require('fs');
+const path = require('path');
+const { Resvg } = require('@resvg/resvg-js');
+
+const OCTO_PATH = 'M296.43 39.05 C292.67 39.52 288.39 40.34 284.8 41.25 C282.07 41.97 276.5 43.7 275.14 44.3 C274.87 44.42 274.02 44.77 273.28 45.07 C272.04 45.56 265.28 48.86 263.95 49.62 C258.35 52.79 251.29 58.24 247.01 62.67 C243.74 66.04 240.13 70.57 238.47 73.37 C238.07 74.04 237.55 74.88 237.33 75.23 C234.18 80.23 231.53 87.46 230.34 94.24 C229.9 96.82 229.82 103.26 230.22 104.99 C230.37 105.61 230.57 106.6 230.69 107.22 C230.91 108.46 231.58 110.31 232.42 112 C233.54 114.2 235.72 116.06 238.1 116.78 C240.18 117.4 243.86 117.1 246.17 116.13 C247.48 115.56 250.35 114.15 251.05 113.71 C251.62 113.36 255.16 111.16 256.82 110.12 C257.09 109.97 257.76 109.55 258.3 109.2 C258.85 108.85 259.46 108.48 259.66 108.38 C259.86 108.28 260.6 107.86 261.27 107.44 C261.97 107.05 262.86 106.53 263.25 106.33 C263.67 106.13 264.71 105.56 265.61 105.09 C269.15 103.13 273.9 100.88 275.76 100.29 C276.1 100.16 277 99.84 277.74 99.54 C279.35 98.95 281.53 98.21 283.43 97.66 C284.18 97.44 285.29 97.12 285.91 96.92 C286.53 96.72 287.27 96.57 287.59 96.57 C287.89 96.57 288.78 96.42 289.58 96.22 C293.51 95.23 300.67 94.81 304.85 95.33 C312.48 96.27 315.62 97.17 320.95 99.82 C325.73 102.19 329.62 105.36 332.44 109.18 C333.97 111.26 336.18 115.46 336.18 116.33 C336.18 116.6 336.38 117.25 336.6 117.77 C336.92 118.54 337.02 119.58 337.02 122.82 C337.04 126.98 336.87 128.17 335.76 131.11 C332.04 140.97 322.14 148.18 309.68 150.06 C308.79 150.18 307.35 150.4 306.46 150.55 C300.74 151.42 287.94 150.3 279.42 148.18 C275.63 147.23 274.82 147.04 273.78 146.69 C273.16 146.49 272.46 146.34 272.24 146.34 C271.99 146.34 271.45 146.19 271 146 C270.56 145.8 269.02 145.28 267.59 144.83 C264.05 143.74 262.51 143.25 260.9 142.63 C260.16 142.33 259.22 141.98 258.8 141.86 C258.4 141.74 257.83 141.54 257.56 141.42 C257.29 141.29 256.52 141.02 255.82 140.77 C255.16 140.55 253.74 140.03 252.73 139.61 C251.71 139.21 250.45 138.72 249.96 138.52 C249.44 138.32 248.54 138 247.98 137.78 C247.38 137.55 246.51 137.23 246.04 137.06 C245.57 136.88 244.34 136.41 243.32 135.99 C239.53 134.48 234.5 132.65 233.04 132.23 C232.35 132.03 231.73 131.83 229.7 131.11 C228.91 130.82 227.65 130.45 224.75 129.6 C223.11 129.13 220.91 128.59 218.93 128.17 C217.99 127.97 216.4 127.62 215.44 127.4 C214.45 127.2 213.31 127.03 212.89 127.03 C212.49 127.03 211.01 126.86 209.59 126.63 C207.61 126.31 206 126.26 201.99 126.36 C199.19 126.43 196.35 126.61 195.65 126.76 C194.98 126.9 193.57 127.2 192.56 127.42 C191.54 127.65 190.43 127.94 190.08 128.07 C189.74 128.22 189.14 128.42 188.72 128.54 C186.66 129.08 183.27 130.72 180.77 132.38 C176.46 135.22 172.3 140.05 170.3 144.49 C170 145.15 169.65 145.92 169.53 146.14 C168.76 147.56 167.65 151.91 167.33 154.66 C166.88 158.48 167.1 162.07 168.07 165.9 C170.15 174.35 175.82 181.03 183.27 183.81 C186.24 184.92 187.43 185.1 191.57 185.1 C195.75 185.1 195.93 185.07 200.23 183.78 C200.98 183.56 201.82 183.24 202.09 183.06 C202.36 182.89 202.71 182.74 202.91 182.74 C203.08 182.74 205.16 181.8 207.49 180.66 C214.89 177.07 217.37 175.98 220.79 174.94 C221.53 174.7 222.59 174.35 223.14 174.18 C223.71 173.98 224.35 173.83 224.6 173.83 C224.87 173.83 225.64 173.68 226.33 173.48 C228.98 172.71 234.83 171.77 239.61 171.33 C244.88 170.81 256.57 170.76 263.5 171.2 C266.92 171.43 271.87 171.75 274.52 171.9 C285.64 172.62 297.55 172.07 303.32 170.58 C303.86 170.44 304.85 170.21 305.55 170.09 C306.26 169.97 307.4 169.72 308.07 169.52 C308.77 169.32 309.93 169 310.67 168.78 C311.79 168.48 314.91 167.39 317.23 166.52 C318.87 165.9 325.48 162.69 326.64 161.94 C327.06 161.67 327.61 161.35 327.88 161.2 C329.42 160.43 334.27 157.11 336.05 155.63 C339.99 152.36 341.53 150.97 343.8 148.62 C347.79 144.51 351.63 139.68 354.13 135.67 C357.82 129.7 360.67 124.08 362.55 119.1 C362.77 118.49 363.12 117.62 363.32 117.17 C363.51 116.73 363.66 116.21 363.66 116.01 C363.66 115.81 363.81 115.29 364.01 114.85 C364.5 113.61 365.59 109.7 366.21 106.72 C367.35 101.42 367.48 100.04 367.48 93.72 C367.48 88.45 367.38 87.09 366.93 84.56 C366.14 80.3 365.2 76.56 364.68 75.55 C364.53 75.28 364.41 74.88 364.41 74.66 C364.41 74.34 363.29 71.74 362.67 70.57 C362.55 70.37 362 69.31 361.43 68.22 C357.97 61.43 352.1 54.82 345.39 50.14 C342.02 47.79 336.45 44.79 332.96 43.46 C332.34 43.23 331.47 42.89 331.03 42.69 C330.58 42.49 330.06 42.34 329.86 42.34 C329.66 42.34 329.14 42.19 328.7 42 C326.47 41.06 320.28 39.69 315.13 39 C311.44 38.53 300.37 38.53 296.43 39.05 Z M395.73 99.44 C394.79 99.79 393.7 100.16 393.35 100.26 C392.44 100.56 391.74 100.98 389.66 102.56 C386.2 105.14 383.92 108.28 381.39 114 C381.05 114.8 380.75 115.61 380.75 115.79 C380.75 115.96 380.6 116.48 380.4 116.93 C379.46 119.1 378.35 124.63 377.43 131.73 C377.23 133.29 376.89 135.79 376.66 137.3 C376.46 138.79 376.29 140.35 376.29 140.77 C376.29 142.21 374.46 151.52 373.57 154.64 C372.55 158.1 370.87 162.98 370.57 163.28 C370.45 163.43 370.35 163.73 370.35 163.95 C370.35 164.2 370.2 164.69 370 165.09 C369.83 165.46 369.11 166.9 368.47 168.26 C366.14 173.01 363.71 176.75 360.64 180.27 C353.44 188.56 345.41 193.29 334.44 195.72 C328.55 197.01 317.04 196.68 308.94 195 C308.05 194.83 306.39 194.48 305.22 194.26 C304.06 194.03 302.4 193.66 301.51 193.46 C300.62 193.27 299.18 192.94 298.29 192.72 C297.4 192.52 296.06 192.23 295.32 192.03 C294.58 191.86 293.07 191.51 291.98 191.29 C290.89 191.06 289.38 190.72 288.63 190.54 C287.89 190.37 286.38 190.02 285.29 189.8 C270.41 186.68 267.56 186.33 255.7 186.33 C246.14 186.33 243.67 186.53 239.18 187.57 C238.34 187.77 237.43 187.94 237.1 187.94 C236.58 187.94 236.06 188.07 232.42 189.11 C229.85 189.85 223.51 192.2 222.89 192.65 C222.77 192.77 221.8 193.27 220.79 193.81 C219.77 194.33 219.07 195.07 217.82 195.47 C216.06 196.58 212.99 198.66 212.86 198.84 C212.79 198.91 212.07 199.51 211.25 200.13 C208.93 201.91 204.99 205.92 202.91 208.67 C201.84 210.06 200.98 211.24 200.98 211.29 C200.98 211.37 200.58 212.01 200.11 212.75 C199.17 214.14 195.78 220.9 195.78 221.35 C195.78 221.5 195.63 221.97 195.43 222.41 C194.61 224.34 193.7 227.91 193.15 231.28 C192.83 233.18 192.73 235.31 192.73 239.32 C192.76 246.06 193.15 248.88 195.03 255.42 C195.65 257.6 196.74 260.35 198.33 263.71 C199.39 265.99 204.15 273.5 204.91 274.11 C204.99 274.19 205.73 275.01 206.52 275.97 C208.95 278.82 213.23 282.88 216.33 285.26 C217.94 286.47 217.49 287.49 219.42 287.49 C219.52 287.49 220.02 287.81 220.54 288.23 C221.06 288.62 221.53 288.97 221.6 288.97 C221.68 288.97 222.54 289.44 223.56 290.04 C225.39 291.1 225.99 291.4 229.58 293.08 C231.68 294.07 234.98 295.31 236.34 295.66 C236.81 295.78 237.48 295.98 237.82 296.1 C240.45 297.07 246.29 298.23 252.36 299 C260.78 300.06 275.73 298.95 282.91 296.75 C283.53 296.55 284.23 296.4 284.45 296.4 C284.7 296.4 285.27 296.25 285.71 296.05 C286.16 295.88 287.15 295.53 287.89 295.31 C289.23 294.89 292.1 293.78 292.1 293.78 C295.91 292.29 302.28 289.12 304.9 287.41 C305.5 287.04 306.02 286.74 306.07 286.74 C306.14 286.74 307.38 285.93 308.86 284.96 C310.33 283.97 311.74 283.05 311.96 282.9 C312.18 282.78 313.2 282.09 314.19 281.39 C319.09 277.98 321.74 276.19 325.03 274.06 C335.38 267.35 343.36 264.46 351.38 264.46 C355.99 264.46 361.61 265.7 368.12 268.17 C368.86 268.47 369.93 268.86 370.47 269.06 C371.02 269.29 371.81 269.53 372.21 269.63 C372.63 269.76 373.22 269.95 373.57 270.1 C374.56 270.5 378.92 271.69 381 272.13 C381.74 272.28 384.24 272.58 386.54 272.78 C390.16 273.07 391.27 273.07 394.47 272.78 C396.52 272.58 398.78 272.28 399.44 272.13 C403.23 271.24 403.78 271.07 406.5 270.03 C409.05 269.06 409.72 268.74 412.07 267.35 C417.17 264.36 422.32 259.46 424.87 255.15 C425.32 254.38 425.91 253.41 426.16 252.97 C426.88 251.78 428.89 247.17 429.33 245.64 C430.3 242.34 430.52 241.38 430.89 238.58 C431.36 234.87 431.36 232.71 430.89 229.34 C430.2 224.54 429.58 222.26 427.99 218.65 C425 211.86 419.97 206.39 413.88 203.3 C409.87 201.26 406.77 200.57 401.87 200.57 C397.61 200.57 393.87 201.22 390.65 202.5 C390.31 202.63 389.54 202.95 388.92 203.17 C383.79 205.18 377.78 209.06 372.43 213.82 C372.28 213.94 371.29 214.83 370.2 215.8 C368 217.73 362.23 223.48 359.45 226.47 C358.44 227.56 357.03 229.07 356.33 229.82 C355.66 230.56 354.45 231.87 353.63 232.76 C352.22 234.35 348.16 238.68 343.73 243.41 C339.5 247.92 332.76 254.45 330.11 256.66 C329.44 257.2 328.5 257.99 328.03 258.42 C326.5 259.73 323.28 262.1 320.43 263.99 C316.86 266.36 316.81 266.41 316.37 266.61 C316.17 266.71 315.55 267.06 315.01 267.4 C313.77 268.17 308.3 270.9 307.45 271.17 C307.11 271.27 306.22 271.59 305.47 271.89 C304.73 272.18 303.79 272.53 303.37 272.63 C302.97 272.75 301.86 273.07 300.89 273.37 C295.15 275.06 287.79 275.5 282.82 274.44 C280.96 274.06 277.76 272.93 276.13 272.08 C275.04 271.51 272.04 269.34 271.05 268.39 C268.8 266.22 267.19 263.71 266.08 260.5 C265.26 258.22 265.23 253.41 266.03 251.16 C267.34 247.47 270.09 243.9 273.78 241.06 C274.57 240.44 275.29 239.94 275.36 239.94 C275.44 239.94 275.91 239.65 276.43 239.3 C278.95 237.59 284.05 235.58 288.88 234.42 C292.32 233.6 300.87 232.51 303.86 232.51 C306.91 232.51 316.52 231.38 319.83 230.63 C322.46 230.01 324.37 229.52 325.16 229.27 C325.58 229.12 326.25 228.92 326.64 228.8 C329.52 228.01 335.56 225.36 338.41 223.62 C338.88 223.35 339.45 223.03 339.64 222.93 C340.21 222.66 344.62 219.64 345.49 218.92 C348.56 216.32 351.73 213.52 352.64 212.58 C353.88 211.29 357.57 207.36 359.58 205.15 C362.1 202.35 367.7 196.71 369.51 195.1 C371.74 193.12 374.58 190.94 377.28 189.16 C379.98 187.37 386.42 183.98 388.03 183.51 C388.45 183.39 389.42 183.04 390.16 182.74 C391.74 182.12 393.55 181.58 395.06 181.26 C395.63 181.13 396.32 180.91 396.57 180.76 C396.84 180.64 397.31 180.51 397.61 180.51 C397.91 180.51 398.73 180.37 399.42 180.17 C400.11 179.97 401.57 179.62 402.66 179.4 C413.46 177.07 419.97 173.28 425.22 166.28 C429.06 161.18 431.04 156.54 432.4 149.56 C432.72 147.85 432.77 146.39 432.67 141.89 C432.58 135.94 432.3 134.11 430.89 129.13 C429.46 124.13 427.3 119.35 424.87 115.66 C424.3 114.82 423.83 114.05 423.83 113.98 C423.83 113.61 417.5 106.23 417.17 106.23 C417.1 106.23 416.7 105.91 416.28 105.54 C413.9 103.33 409.92 100.86 407.24 99.94 C404.42 99 403.28 98.8 400.38 98.82 C397.96 98.82 397.17 98.95 395.73 99.44 Z';
+
+const appxDir = path.join(__dirname, '..', 'resources', 'appx');
+if (!fs.existsSync(appxDir)) {
+ fs.mkdirSync(appxDir, { recursive: true });
+}
+
+// Exact bounding box of OCTO_PATH: viewBox="155 30 290 280"
+function makeSvg(width, height, isWide = false) {
+ if (isWide) {
+ // Wide310x150 & SplashScreen: render icon centered with balanced margins on dark backdrop
+ const iconSize = Math.floor(height * 0.7);
+ const offsetX = Math.floor((width - iconSize) / 2);
+ const offsetY = Math.floor((height - iconSize) / 2);
+ const rx = Math.floor(Math.min(width, height) * 0.16);
+
+ return `
+<svg width="${width}" height="${height}" viewBox="0 0 ${width} ${height}" xmlns="http://www.w3.org/2000/svg">
+ <rect width="${width}" height="${height}" rx="${rx}" fill="#09090b" />
+ <g transform="translate(${offsetX}, ${offsetY})">
+ <svg width="${iconSize}" height="${iconSize}" viewBox="155 30 290 280">
+ <path d="${OCTO_PATH}" fill="#ffffff" filter="drop-shadow(0 0 12px rgba(255,255,255,0.75))" />
+ </svg>
+ </g>
+</svg>
+ `.trim();
+ }
+
+ // Square tiles (44x44, 150x150, 50x50): icon centered with 18% padding
+ const padding = Math.floor(width * 0.15);
+ const iconSize = width - (padding * 2);
+ const rx = Math.floor(width * 0.22);
+
+ return `
+<svg width="${width}" height="${height}" viewBox="0 0 ${width} ${height}" xmlns="http://www.w3.org/2000/svg">
+ <rect width="${width}" height="${height}" rx="${rx}" fill="#09090b" />
+ <g transform="translate(${padding}, ${padding})">
+ <svg width="${iconSize}" height="${iconSize}" viewBox="155 30 290 280">
+ <path d="${OCTO_PATH}" fill="#ffffff" filter="drop-shadow(0 0 12px rgba(255,255,255,0.75))" />
+ </svg>
+ </g>
+</svg>
+ `.trim();
+}
+
+const targets = [
+ { name: 'Square44x44Logo.png', w: 44, h: 44, wide: false },
+ { name: 'Square150x150Logo.png', w: 150, h: 150, wide: false },
+ { name: 'Wide310x150Logo.png', w: 310, h: 150, wide: true },
+ { name: 'StoreLogo.png', w: 50, h: 50, wide: false },
+ { name: 'SplashScreen.png', w: 620, h: 300, wide: true }
+];
+
+for (const target of targets) {
+ const svg = makeSvg(target.w, target.h, target.wide);
+ const resvg = new Resvg(svg, {
+ fitTo: { mode: 'width', value: target.w }
+ });
+ const pngBuffer = resvg.render().asPng();
+ const destPath = path.join(appxDir, target.name);
+ fs.writeFileSync(destPath, pngBuffer);
+ console.log(`Generated perfectly centered ${target.name} (${target.w}x${target.h}) -> ${destPath}`);
+}
+
+console.log('ALL APPX TILES RE-GENERATED PERFECTLY CENTERED!');
diff --git a/src/Onboarding.tsx b/src/Onboarding.tsx
index 7e20b1d..e5b5918 100644
--- a/src/Onboarding.tsx
+++ b/src/Onboarding.tsx
@@ -46,6 +46,13 @@ const slides = [
videoSrc: 'merge.webm',
placeholderColor: 'linear-gradient(135deg, #667EEA 0%, #764BA2 100%)'
},
+ {
+ id: 'slide-preview',
+ title: 'Preview Flyout',
+ description: 'Click the preview button on any card to open a side flyout. Inspect high-resolution images, browse file collections, read long text snippets, or drag items directly from the preview.',
+ videoSrc: 'preview.webm',
+ placeholderColor: 'linear-gradient(135deg, #A855F7 0%, #EC4899 100%)'
+ },
{
id: 'slide-6',
title: 'Configure Your Clipboard',
@@ -182,7 +189,7 @@ export function Onboarding() {
{/* Right Side: Settings */}
<div style={{ flex: 1, background: '#1a1a1c', borderRadius: '16px', border: '1px solid rgba(255, 255, 255, 0.05)', boxShadow: '0 20px 40px rgba(0,0,0,0.4)', overflow: 'hidden', display: 'flex', minHeight: 0 }}>
<div style={{ flex: 1, overflowY: 'auto', padding: '16px', boxSizing: 'border-box' }}>
- <Settings />
+ <Settings inlineIndicatorStyle={true} />
</div>
</div>
</div>
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index e77d25c..dfcfb18 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -3,11 +3,11 @@ import { motion, AnimatePresence } from 'framer-motion'
import { useStore } from '../store/appStore'
import type { DisplayInfo } from '../../shared/types'
import { LiquidOctopusLoader } from './LiquidOctopusLoader'
-import { TickIndicatorIcon, CopyIndicatorIcon } from './CopyIndicatorCurve'
+import { TickIndicatorIcon, CopyIndicatorIcon, SparkleIndicatorIcon } from './CopyIndicatorCurve'
import { ChevronRightIcon, CloseIcon } from './icons'
import '../styles/settings.css'
-export function Settings() {
+export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolean }) {
const settings = useStore((s) => s.settings)
const patch = useStore((s) => s.patchSettings)
const updateInfo = useStore((s) => s.updateInfo)
@@ -15,6 +15,19 @@ export function Settings() {
const styleFlyoutOpen = useStore((s) => s.styleFlyoutOpen)
const setStyleFlyoutOpen = useStore((s) => s.setStyleFlyoutOpen)
+ const [localInlineOpen, setLocalInlineOpen] = useState(false)
+ const isTutorial = inlineIndicatorStyle || (typeof window !== 'undefined' && window.location.hash.includes('onboarding'))
+
+ const isFlyoutActive = isTutorial ? localInlineOpen : styleFlyoutOpen
+
+ const handleToggleFlyout = () => {
+ if (isTutorial) {
+ setLocalInlineOpen(!localInlineOpen)
+ } else {
+ setStyleFlyoutOpen(!styleFlyoutOpen)
+ }
+ }
+
const [displays, setDisplays] = useState<DisplayInfo[]>([])
useEffect(() => {
window.edge.getDisplays().then(setDisplays).catch(() => {})
@@ -305,13 +318,125 @@ export function Settings() {
<button
type="button"
- className={`icon-btn style-preview-toggle-btn ${styleFlyoutOpen ? 'active' : ''}`}
- title={styleFlyoutOpen ? 'Close Style Preview Panel' : 'Open Indicator Style Preview Panel'}
- onClick={() => setStyleFlyoutOpen(!styleFlyoutOpen)}
+ className={`icon-btn style-preview-toggle-btn ${isFlyoutActive ? 'active' : ''}`}
+ title={isFlyoutActive ? 'Close Style Selector' : 'Open Indicator Style Selector'}
+ onClick={handleToggleFlyout}
>
- {styleFlyoutOpen ? <CloseIcon /> : <ChevronRightIcon />}
+ {isFlyoutActive ? <CloseIcon /> : <ChevronRightIcon />}
</button>
</div>
+
+ {isTutorial && localInlineOpen && (
+ <motion.div
+ initial={{ opacity: 0, height: 0 }}
+ animate={{ opacity: 1, height: 'auto' }}
+ exit={{ opacity: 0, height: 0 }}
+ transition={{ duration: 0.22, ease: 'easeOut' }}
+ style={{ overflow: 'hidden', marginTop: 12, marginBottom: 8 }}
+ >
+ <div style={{
+ display: 'grid',
+ gridTemplateColumns: 'repeat(2, 1fr)',
+ gap: 10,
+ padding: 12,
+ background: '#09090b',
+ borderRadius: 12,
+ border: '1px solid rgba(255, 255, 255, 0.08)'
+ }}>
+ {/* Logo Card */}
+ <div
+ onClick={() => patch({ copyIndicatorStyle: 'logo' })}
+ style={{
+ background: (settings.copyIndicatorStyle || 'logo') === 'logo' ? 'rgba(255, 255, 255, 0.12)' : 'rgba(255, 255, 255, 0.04)',
+ border: (settings.copyIndicatorStyle || 'logo') === 'logo' ? '1px solid rgba(255, 255, 255, 0.3)' : '1px solid rgba(255, 255, 255, 0.06)',
+ borderRadius: 10,
+ padding: '12px 8px',
+ display: 'flex',
+ flexDirection: 'column',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ gap: 8,
+ transition: 'all 0.2s ease'
+ }}
+ >
+ <div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
+ <LiquidOctopusLoader fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" speed={1.2} />
+ </div>
+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Logo</div>
+ </div>
+
+ {/* Tick Card */}
+ <div
+ onClick={() => patch({ copyIndicatorStyle: 'check' })}
+ style={{
+ background: settings.copyIndicatorStyle === 'check' ? 'rgba(255, 255, 255, 0.12)' : 'rgba(255, 255, 255, 0.04)',
+ border: settings.copyIndicatorStyle === 'check' ? '1px solid rgba(255, 255, 255, 0.3)' : '1px solid rgba(255, 255, 255, 0.06)',
+ borderRadius: 10,
+ padding: '12px 8px',
+ display: 'flex',
+ flexDirection: 'column',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ gap: 8,
+ transition: 'all 0.2s ease'
+ }}
+ >
+ <div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
+ <TickIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} />
+ </div>
+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Tick</div>
+ </div>
+
+ {/* Copy Card */}
+ <div
+ onClick={() => patch({ copyIndicatorStyle: 'copy' })}
+ style={{
+ background: settings.copyIndicatorStyle === 'copy' ? 'rgba(255, 255, 255, 0.12)' : 'rgba(255, 255, 255, 0.04)',
+ border: settings.copyIndicatorStyle === 'copy' ? '1px solid rgba(255, 255, 255, 0.3)' : '1px solid rgba(255, 255, 255, 0.06)',
+ borderRadius: 10,
+ padding: '12px 8px',
+ display: 'flex',
+ flexDirection: 'column',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ gap: 8,
+ transition: 'all 0.2s ease'
+ }}
+ >
+ <div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
+ <CopyIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} />
+ </div>
+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Copy</div>
+ </div>
+
+ {/* Sparkle Card */}
+ <div
+ onClick={() => patch({ copyIndicatorStyle: 'sparkle' })}
+ style={{
+ background: settings.copyIndicatorStyle === 'sparkle' ? 'rgba(255, 255, 255, 0.12)' : 'rgba(255, 255, 255, 0.04)',
+ border: settings.copyIndicatorStyle === 'sparkle' ? '1px solid rgba(255, 255, 255, 0.3)' : '1px solid rgba(255, 255, 255, 0.06)',
+ borderRadius: 10,
+ padding: '12px 8px',
+ display: 'flex',
+ flexDirection: 'column',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ gap: 8,
+ transition: 'all 0.2s ease'
+ }}
+ >
+ <div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
+ <SparkleIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} />
+ </div>
+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Sparkle</div>
+ </div>
+ </div>
+ </motion.div>
+ )}
</>
)}