mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
Fixes vscrollbar not showing in Watch Panel.
This commit is contained in:
parent
3f64648fc8
commit
e561ab9002
1 changed files with 3 additions and 2 deletions
|
@ -7658,9 +7658,9 @@ Function map! (value!, minRange!, maxRange!, newMinRange!, newMaxRange!)
|
||||||
map! = ((value! - minRange!) / (maxRange! - minRange!)) * (newMaxRange! - newMinRange!) + newMinRange!
|
map! = ((value! - minRange!) / (maxRange! - minRange!)) * (newMaxRange! - newMinRange!) + newMinRange!
|
||||||
End Function
|
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 previousVariableWatchList$
|
||||||
STATIC longestVarName
|
STATIC longestVarName, totalVisibleVariables
|
||||||
|
|
||||||
IF action = 1 THEN previousVariableWatchList$ = "": EXIT SUB 'reset
|
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 > idewy - 10 THEN this.h = idewy - 10
|
||||||
IF this.h < 5 THEN this.h = 5
|
IF this.h < 5 THEN this.h = 5
|
||||||
END IF
|
END IF
|
||||||
|
__totalVisibleVariables = totalVisibleVariables 'pass back total visible variables
|
||||||
|
|
||||||
fg = 0: bg = 7
|
fg = 0: bg = 7
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue