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.

feat(ui): calibrate edge location hint styling and set to disabled by default

Deepender25e0486d9a85c3
diff --git a/shared/types.ts b/shared/types.ts
index 4c835e5..c80bed0 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -192,7 +192,7 @@ export const DEFAULT_SETTINGS: Settings = {
copyIndicatorStyle: 'logo',
verticalOffset: 0.5,
triggerAlignment: 'center',
- showEdgeLocationHint: true,
+ showEdgeLocationHint: false,
soundEffects: true,
lastSeenChangelogVersion: undefined,
hoverActivation: true,
diff --git a/src/components/Panel.tsx b/src/components/Panel.tsx
index 680963c..63a72c3 100644
--- a/src/components/Panel.tsx
+++ b/src/components/Panel.tsx
@@ -291,22 +291,22 @@ export function Panel() {
>
{/* Edge Location Hint Beacon (Ultra-subtle fast hairline pulse when touching edge at wrong position) */}
<AnimatePresence>
- {!open && edgeHintActive && (settings.showEdgeLocationHint ?? true) && (
+ {!open && edgeHintActive && (settings.showEdgeLocationHint ?? false) && (
<motion.div
key="edge-location-beacon"
initial={{ opacity: 0 }}
- animate={{ opacity: 0.28 }}
+ animate={{ opacity: 0.5 }}
exit={{ opacity: 0 }}
- transition={{ duration: 0.15, ease: 'easeInOut' }}
+ transition={{ duration: 0.18, ease: 'easeOut' }}
style={{
position: 'absolute',
top: insetTop,
bottom: insetBottom,
[isRight ? 'right' : 'left']: 0,
- width: 1.5,
+ width: 2,
boxSizing: 'border-box',
- background: 'linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.45) 35%, rgba(255, 255, 255, 0.45) 65%, transparent)',
- boxShadow: '0 0 4px rgba(255, 255, 255, 0.2)',
+ background: 'linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.65) 25%, rgba(255, 255, 255, 0.65) 75%, transparent)',
+ boxShadow: '0 0 6px rgba(255, 255, 255, 0.3)',
borderRadius: isRight ? '999px 0 0 999px' : '0 999px 999px 0',
pointerEvents: 'none',
zIndex: 99
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index d27c8a8..7da91ed 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -850,7 +850,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool
<div className="setting-desc">{t('position.edgeLocationHintDesc')}</div>
</div>
<Toggle
- checked={settings.showEdgeLocationHint ?? true}
+ checked={settings.showEdgeLocationHint ?? false}
onChange={(v) => patch({ showEdgeLocationHint: v })}
/>
</div>
diff --git a/src/hooks/useEdgeHover.ts b/src/hooks/useEdgeHover.ts
index ef05e9f..86b75d2 100644
--- a/src/hooks/useEdgeHover.ts
+++ b/src/hooks/useEdgeHover.ts
@@ -304,7 +304,7 @@ export function useEdgeHover(): void {
edgeHintTimer = window.setTimeout(() => {
edgeHintTimer = undefined
useStore.getState().setEdgeHintActive(false)
- }, 300)
+ }, 450)
}
// ── main-process cursor poll (replaces broken pointermove forwarding) ──
@@ -332,7 +332,7 @@ export function useEdgeHover(): void {
const isHoverEnabled = state.settings.hoverActivation ?? true
- if (inEdgeNear && !inZone && !state.open && isHoverEnabled && (state.settings.showEdgeLocationHint ?? true)) {
+ if (inEdgeNear && !inZone && !state.open && isHoverEnabled && (state.settings.showEdgeLocationHint ?? false)) {
triggerEdgeHint()
}
@@ -394,7 +394,7 @@ export function useEdgeHover(): void {
const isHoverEnabled = state.settings.hoverActivation ?? true
- if (inEdgeNear && !inZone && !state.open && isHoverEnabled && (state.settings.showEdgeLocationHint ?? true)) {
+ if (inEdgeNear && !inZone && !state.open && isHoverEnabled && (state.settings.showEdgeLocationHint ?? false)) {
triggerEdgeHint()
}