mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Link device list and proximity radar selection
Clicking a device in the list or a dot on the radar now highlights both - the list row gets selected styling and the radar dot shows an animated pulsing cyan ring for clear visual feedback. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -385,6 +385,11 @@ const BluetoothMode = (function() {
|
||||
el.classList.remove('selected');
|
||||
});
|
||||
}
|
||||
|
||||
// Clear radar highlight
|
||||
if (typeof ProximityRadar !== 'undefined') {
|
||||
ProximityRadar.clearHighlight();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -404,6 +409,12 @@ const BluetoothMode = (function() {
|
||||
if (card) {
|
||||
card.classList.add('selected');
|
||||
}
|
||||
|
||||
// Also highlight on the radar
|
||||
const device = devices.get(deviceId);
|
||||
if (device && typeof ProximityRadar !== 'undefined') {
|
||||
ProximityRadar.highlightDevice(device.device_key || device.device_id);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user