Commit cfa228c
Fix hover window "Add to Watch" parameter order bug
Fixed the bug where adding a variable to watch from hover window would incorrectly use "hover" as the variable name instead of the actual expression name. The issue was in run_hover() passing parameters in wrong order to variables.createRef().
Changed: variables.createRef(res, "hover")
To: variables.createRef(res, expression, "hover")
This now matches the correct implementation used in run_watch().
Co-authored-by: sumneko <5213431+sumneko@users.noreply.github.com>1 parent 090baa5 commit cfa228c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments