From a7411243ded5536af2843427055ada5596c42939 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 16 May 2026 04:14:28 +0200 Subject: [PATCH] fix: reorder display buttons in calc-02 sample --- .memory/project.md | 2 +- samples/calc-02/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.memory/project.md b/.memory/project.md index 53ec66e..7b1ebe3 100644 --- a/.memory/project.md +++ b/.memory/project.md @@ -1,6 +1,6 @@ # State - Core engine: `src/rpn-calculator.js` -- Reference demo: `samples/calc-02/` (portrait-first HP48GX layout, compact mode/constants popups) +- Reference demo: `samples/calc-02/` (portrait-first HP48GX layout, compact mode/constants popups; Const button comes before Mode in the display row) - Important UI behavior: mode button shows the current angle mode; keyboard focus stays on the hidden input on desktop; clipboard paste is supported - Public API: `push`, `pop`, `clear`, `swap`, `remove`, `edit`, `isValidIndex`, `input`, `command`, `getOperationsByCategory`, `getConstants`, `listConstants`, `setConstant`, `removeConstant`, `hasConstant` - Config: `maxSize`, `base`, `angleMode`, `enabledCommands` diff --git a/samples/calc-02/index.html b/samples/calc-02/index.html index d3d5a16..99e3b07 100644 --- a/samples/calc-02/index.html +++ b/samples/calc-02/index.html @@ -25,8 +25,8 @@
- +