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.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
fix(ui): eliminate subpixel text blurriness and set fluid spring bounce as default
Deepender255078d3e339e8
diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex 6d41078..b8e8f1d 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -28,7 +28,6 @@ export function Panel() {const settingsOpen = useStore((s) => s.settingsOpen)const setSettingsOpen = useStore((s) => s.setSettingsOpen)const setQuery = useStore((s) => s.setQuery)- const bounceAnimation = settings.bounceAnimationconst edgeHintActive = useStore((s) => s.edgeHintActive)useEffect(() => {@@ -44,12 +43,12 @@ export function Panel() {const minY = panelH / 2const maxY = screenH - panelH / 2const vOffset = settings.verticalOffset ?? 0.5- const midY = minY + vOffset * (maxY - minY)+ const midY = Math.round(minY + vOffset * (maxY - minY))const topOffset = `${midY}px`// The actual pixel height of the trigger zone on the left edge- const triggerHeightPx = window.innerHeight * settings.hotZoneHeight- const halfTrigger = triggerHeightPx / 2+ const triggerHeightPx = Math.round(window.innerHeight * settings.hotZoneHeight)+ const halfTrigger = Math.round(triggerHeightPx / 2)// The height of the complete pop-up panelconst panelHeightStr = `${(settings.panelHeight || 0.6) * 100}vh`@@ -193,7 +192,7 @@ export function Panel() {position: 'absolute',zIndex: 10,pointerEvents: open ? 'auto' : 'none',- transition: 'clip-path 0.38s cubic-bezier(0.16, 1, 0.3, 1)'+ transition: 'clip-path 0.44s cubic-bezier(0.175, 0.885, 0.32, 1.08)'}let originX = 0@@ -245,20 +244,30 @@ export function Panel() {<CopyIndicatorCurve /><motion.divclassName={containerClass}- initial={false}+ initial={{ scaleX: 0.93, scaleY: 0.96, opacity: 0.98 }}onDragEnter={onDragEnter}onDragOver={onDragOver}onDragLeave={onDragLeave}onDrop={onDrop}style={containerStyle}- animate={{- scale: bounceAnimation && open ? [0.92, 1.05, 0.98, 1] : 1,- opacity: open ? 1 : 0.98- }}- transition={{- scale: bounceAnimation && open ? { duration: 0.55, ease: [0.22, 1, 0.36, 1] } : { duration: 0.15 },- opacity: { duration: open ? 0.12 : 0.08, ease: 'easeOut' }- }}+ animate={+ open+ ? { scaleX: 1, scaleY: 1, opacity: 1 }+ : { scaleX: 0.96, scaleY: 0.97, opacity: 0.98 }+ }+ transition={+ open+ ? {+ scaleX: { type: 'spring', stiffness: 380, damping: 24, mass: 0.75 },+ scaleY: { type: 'spring', stiffness: 340, damping: 26, mass: 0.8 },+ opacity: { duration: 0.12, ease: 'easeOut' }+ }+ : {+ scaleX: { duration: 0.15, ease: [0.22, 1, 0.36, 1] },+ scaleY: { duration: 0.15, ease: [0.22, 1, 0.36, 1] },+ opacity: { duration: 0.08, ease: 'easeOut' }+ }+ }>{/* Edge Location Hint Beacon (Ultra-subtle fast hairline pulse when touching edge at wrong position) */}<AnimatePresence>diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex 226cd13..dd84849 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -837,21 +837,6 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool/></div>- {/* ── GROUP: Animations ────────────────────────────────── */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Animations</div>-- <div className="setting-row">- <div className="setting-info">- <div className="setting-title">Bounce Animation</div>- <div className="setting-desc">Adds a springy overshoot pop when the panel opens.</div>- <div className="setting-badge-subtle">May slightly affect performance</div>- </div>- <Toggle- checked={settings.bounceAnimation ?? false}- onChange={(v) => patch({ bounceAnimation: v })}- />- </div>-{PersistentFooter}</motion.div>)}diff --git a/src/styles/global.css b/src/styles/global.cssindex da4ba18..4ae7ff9 100644--- a/src/styles/global.css+++ b/src/styles/global.css@@ -91,9 +91,8 @@ svg polygon {.copy-curve-container,.bundle-stack-card,.style-card {- -webkit-backface-visibility: hidden;- backface-visibility: hidden;- transform: translateZ(0);+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;-webkit-background-clip: padding-box;background-clip: padding-box;}diff --git a/src/styles/panel.css b/src/styles/panel.cssindex f80c0da..7495f61 100644--- a/src/styles/panel.css+++ b/src/styles/panel.css@@ -33,8 +33,6 @@border: none;-webkit-background-clip: padding-box;background-clip: padding-box;- transform: translateZ(0);- backface-visibility: hidden;}.blade-container.blade-right .blade {border-top-right-radius: 0;