Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ main {

/* Minimap with modern border treatment */
.minimap-container {
@apply relative w-48 h-48 bg-black/90 rounded-lg overflow-hidden
@apply relative w-52 h-52 bg-black/90 rounded-lg overflow-hidden
border border-void-600 shadow-[0_0_20px_rgba(0,0,0,0.5)];
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/game/Minimap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { clamp } from '@/utils/math';
import { debugInitialization } from '@/utils/debugLogger';

const MINIMAP_SIZE = 192;
const MINIMAP_SIZE = 208;

// Convert hex color (0xRRGGBB) to CSS hex string
function hexToCSS(hex: number, darken: number = 0): string {
Expand Down Expand Up @@ -160,8 +160,8 @@

// Debug: log adapter state periodically
const adapterCheckKey = '_minimapAdapterCheckCount';
(window as any)[adapterCheckKey] = ((window as any)[adapterCheckKey] ?? 0) + 1;

Check warning on line 163 in src/components/game/Minimap.tsx

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type

Check warning on line 163 in src/components/game/Minimap.tsx

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
const checkCount = (window as any)[adapterCheckKey];

Check warning on line 164 in src/components/game/Minimap.tsx

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
if (checkCount % 60 === 1) {
const counts = worldAdapter.getEntityCounts();
debugInitialization.log('[Minimap] Adapter state:', {
Expand Down
Loading