Bug fixes.

This commit is contained in:
Anna Rose 2021-08-01 21:37:42 -04:00
parent 6577c694f9
commit 2d7e23a311

View File

@ -56,8 +56,10 @@ set row to makeRow(top).
makeButton(row, "LNCH", { stk:ShowOnly(panes["launch"]). }).
makeButton(row, "NODE", {
set nodeDV:TEXT to NEXTNODE:DELTAV:MAG:ToString.
set nodeBT:TEXT to BurnTime(NEXTNODE:DELTAV:MAG):ToString.
if HASNODE {
set nodeDV:TEXT to NEXTNODE:DELTAV:MAG:ToString.
set nodeBT:TEXT to BurnTime(NEXTNODE:DELTAV:MAG):ToString.
}
stk:ShowOnly(panes["node"]).
}).
@ -70,7 +72,7 @@ local panes is Lex().
local top is stk:AddVLayout().
panes:Add("launch", top).
local box is launchMenu:AddScrollBox().
local box is top:AddScrollBox().
set row to makeRow(box).
row:AddLabel("Target Apoapsis").
@ -144,7 +146,7 @@ set top:AddButton("Lock TWR"):onClick to {
// node menu
local top is stk:AddVLayout().
panes:Add("node", top).
local box is nodeMenu:AddScrollBox().
local box is top:AddScrollBox().
set row to makeRow(top).
row:AddLabel("Node dV").