From 736154110d1a85d2b14442d072357d1f262db099 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 17 May 2026 00:38:32 +0200 Subject: [PATCH] fix: correct calc-02 function key shortcuts --- samples/calc-02/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/calc-02/index.js b/samples/calc-02/index.js index 8001346..88ba986 100644 --- a/samples/calc-02/index.js +++ b/samples/calc-02/index.js @@ -55,11 +55,11 @@ const keypadKeys = [ const functionKeys = [ { label: 'x²', action: 'sqr', className: 'key-default', title: 's' }, { label: '√x', action: 'sqrt', className: 'key-default', title: 'r' }, - { label: '1/x', action: 'recip', className: 'key-default', title: 'v' }, + { label: '1/x', action: 'recip', className: 'key-default', title: 'x' }, { label: '%', action: 'mod', className: 'key-default' }, { label: 'yˣ', action: 'pow', className: 'key-default', title: 'S' }, { label: 'y√x', action: 'root', className: 'key-default', title: 'R' }, - { label: '10ˣ', action: 'pow10', className: 'key-default', title: 'u' }, + { label: '10ˣ', action: 'pow10', className: 'key-default', title: 'd' }, { label: '', spacer: true }, { label: 'log', action: 'log', className: 'key-default', title: 'l / L' }, { label: 'ln', action: 'ln', className: 'key-default', title: 'n / N' },