allow to add properties to the live display with --prop:live=/some/property
This commit is contained in:
parent
b360c2ad62
commit
1f65d80475
1 changed files with 4 additions and 0 deletions
|
@ -384,6 +384,10 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
|
|||
}
|
||||
});
|
||||
|
||||
foreach (var n; props.globals.getChildren("live"))
|
||||
property_display.add(n.getValue());
|
||||
props.globals.removeChildren("live");
|
||||
|
||||
setlistener("/sim/gui/current-style", func {
|
||||
var theme = getprop("/sim/gui/current-style");
|
||||
theme_font = getprop("/sim/gui/style[" ~ theme ~ "]/fonts/message-display/name");
|
||||
|
|
Loading…
Add table
Reference in a new issue