Update OBJECT_SCALES in index.html: adjust scaling for phone and add bluetooth_scanner, and change highlight tint color for improved visual feedback.

This commit is contained in:
Z. Cliffe Schreuders
2025-04-29 00:26:30 +01:00
parent b23cdb838e
commit b0676a48b8

View File

@@ -2388,8 +2388,9 @@
const OBJECT_SCALES = {
'notes': 0.75,
'key': 0.75,
'phone': 0.75,
'tablet': 0.75
'phone': 1,
'tablet': 0.75,
'bluetooth_scanner': 0.7
};
// Process scenario objects first
@@ -4362,7 +4363,7 @@
if (distanceSq <= INTERACTION_RANGE_SQ) {
if (!obj.isHighlighted) {
obj.isHighlighted = true;
obj.setTint(0xdddddd); // Simple highlight without tween
obj.setTint(0xADD8E6); // Simple highlight without tween
}
} else if (obj.isHighlighted) {
obj.isHighlighted = false;