fix(ui): tavern floor, play-area focus border, and Smirk locked-wallet UX

Tavern: revert the per-cell 'varied floor/wall' tiles to coherent single tiles — mixing wood/stone/plank per cell read as visual noise (assetPacks.js).

Play area: draw the keyboard-focus outline inset (outline-offset -2px) so the yellow border shows on the right edge, which the container's overflow:hidden was clipping (ui.js).

Smirk: a locked wallet now shows a friendly 'unlock in the extension, then Retry' hint instead of a red error, and the LOCKED error code is preserved through connect()/signMessage(). Current Smirk builds auto-open the unlock popup on connect(); older builds throw LOCKED, which the Retry button re-invokes (smirkAuth.js).
This commit is contained in:
jwinterm
2026-07-10 08:46:38 -04:00
parent 3643746c21
commit a05a10efd7
3 changed files with 31 additions and 16 deletions
+4 -1
View File
@@ -19,7 +19,10 @@ const UI = {
var chatInput = $('#chatInput');
if (document.activeElement === gameDisplay[0]) {
gameDisplay.css('outline', '2px solid yellow');
// Inset the outline (offset -2px) so it is drawn INSIDE the box — the play area is
// flush to the viewport's right edge and the container clips an outward outline there,
// which hid the border on the right side.
gameDisplay.css({ 'outline': '2px solid yellow', 'outline-offset': '-2px' });
chatInput.css('outline', 'none');
} else if (document.activeElement === chatInput[0]) {
chatInput.css('outline', '2px solid cyan');