From e561ab900268c696185b726e9afaf175c4177111 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Wed, 8 Sep 2021 23:41:13 -0300 Subject: [PATCH] Fixes vscrollbar not showing in Watch Panel. --- source/ide/ide_methods.bas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 764880dc4..4bb35b787 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -7658,9 +7658,9 @@ Function map! (value!, minRange!, maxRange!, newMinRange!, newMaxRange!) map! = ((value! - minRange!) / (maxRange! - minRange!)) * (newMaxRange! - newMinRange!) + newMinRange! End Function -SUB showvWatchPanel (this AS vWatchPanelType, currentScope$, totalVisibleVariables, action as _BYTE) +SUB showvWatchPanel (this AS vWatchPanelType, currentScope$, __totalVisibleVariables, action as _BYTE) STATIC previousVariableWatchList$ - STATIC longestVarName + STATIC longestVarName, totalVisibleVariables IF action = 1 THEN previousVariableWatchList$ = "": EXIT SUB 'reset @@ -7673,6 +7673,7 @@ SUB showvWatchPanel (this AS vWatchPanelType, currentScope$, totalVisibleVariabl IF this.h > idewy - 10 THEN this.h = idewy - 10 IF this.h < 5 THEN this.h = 5 END IF + __totalVisibleVariables = totalVisibleVariables 'pass back total visible variables fg = 0: bg = 7