1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-02 22:21:21 +00:00

Fixes vscrollbar not showing in Watch Panel.

This commit is contained in:
FellippeHeitor 2021-09-08 23:41:13 -03:00
parent 3f64648fc8
commit e561ab9002

View file

@ -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