From a1139c7c5881e25ec45a780858a839125935ffe8 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 28 May 2024 19:11:48 -0700 Subject: [PATCH] Do not redraw on collapsed --- gui/notepad/src/notepad.tal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/notepad/src/notepad.tal b/gui/notepad/src/notepad.tal index 6a83aed..51caf25 100644 --- a/gui/notepad/src/notepad.tal +++ b/gui/notepad/src/notepad.tal @@ -436,6 +436,7 @@ ( >> ) @ ( -- ) + [ LIT2 00 -collapsed ] LDZ EQU ?{ JMP2r } [ LIT2 15 -Screen/auto ] DEO #0008 .Screen/x DEO2 #0018 .Screen/y DEO2 @@ -462,7 +463,6 @@ &end POP2 @ ( -- ) - .Screen/height DEI2 #0020 GTH2 ?{ JMP2r } [ LIT2 26 -Screen/auto ] DEO #0000 .Screen/x DEO2 .Screen/height DEI2 #0020 SUB2 .Screen/y DEO2