From e4f1a4597e5f6bf1c6e9db33190db6c5d7fbc039 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 29 May 2024 14:12:32 -0700 Subject: [PATCH] Do not erase drawing on note mode --- gui/notepad/src/notepad.tal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/notepad/src/notepad.tal b/gui/notepad/src/notepad.tal index f07ea7f..1d2d0a9 100644 --- a/gui/notepad/src/notepad.tal +++ b/gui/notepad/src/notepad.tal @@ -74,9 +74,9 @@ POP ( | key ) DUP #1b NEQ ?{ toggle-sketch POP BRK } - DUP #08 NEQ ?{ .selection/sketch LDZ ?{ erase } + DUP #08 NEQ ?{ .selection/sketch LDZ ?{ erase POP BRK } erase-sketch POP BRK } - DUP #7f NEQ ?{ .selection/sketch LDZ ?{ delete } + DUP #7f NEQ ?{ .selection/sketch LDZ ?{ delete POP BRK } erase-sketch POP BRK } DUP #09 LTH ?{ DUP insert } POP BRK