mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Rearrange variable sections so Locals is open by default instead of Globals
This commit is contained in:
parent
d6cb8ee219
commit
e809989d3d
1 changed files with 7 additions and 7 deletions
|
|
@ -602,8 +602,10 @@ handle_request! {
|
|||
ScopesResponse {
|
||||
scopes: vec![
|
||||
Scope {
|
||||
name: "Globals".to_owned(),
|
||||
variablesReference: 0x0e_000001,
|
||||
name: "Locals".to_owned(),
|
||||
presentationHint: Some("locals".to_owned()),
|
||||
variablesReference: frameId * 2 + 2,
|
||||
indexedVariables: Some(frame.locals.len() as i64),
|
||||
.. Default::default()
|
||||
},
|
||||
Scope {
|
||||
|
|
@ -614,12 +616,10 @@ handle_request! {
|
|||
.. Default::default()
|
||||
},
|
||||
Scope {
|
||||
name: "Locals".to_owned(),
|
||||
presentationHint: Some("locals".to_owned()),
|
||||
variablesReference: frameId * 2 + 2,
|
||||
indexedVariables: Some(frame.locals.len() as i64),
|
||||
name: "Globals".to_owned(),
|
||||
variablesReference: 0x0e_000001,
|
||||
.. Default::default()
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue