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
10 changes: 9 additions & 1 deletion kit/Bureau.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,15 @@ export type ButtonProps = {
*/
layout?: Pick<
Layout,
"width" | "margin" | "padding" | "gap" | "grow" | "shrink" | "minWidth"
| "width"
| "height"
| "margin"
| "padding"
| "gap"
| "grow"
| "shrink"
| "minWidth"
| "minHeight"
>;
/** Takes the room left in its row: a lone key across a strip. */
grow?: true;
Expand Down
2 changes: 1 addition & 1 deletion kit/HudKey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Box, Image, Layer, type PixelSource, Text } from "bureau/primitives";
const HUD_CORNER_INSET = 6;

/** The room one corner key takes from the window's side: what a strip
* across the bottom, the toolbox's shelf, leaves it. */
* across the bottom, the toolbox's touch drawer, leaves it. */
export const HUD_CORNER_WIDTH = HUD_CORNER_INSET + CONTROL_METRICS.large.height;

/** A corner of the map: its keys centred 28px up, where the toolbox's tiles
Expand Down
77 changes: 0 additions & 77 deletions kit/Shelf.test.ts

This file was deleted.

255 changes: 0 additions & 255 deletions kit/Shelf.tsx

This file was deleted.

Loading
Loading