20,741
edits
m (→Aircraft Support: http://forum.flightgear.org/viewtopic.php?f=14&t=23736) |
m (→Adding new features: be less fancy/more explicit ...) |
||
Line 194: | Line 194: | ||
id:'planArcs', | id:'planArcs', | ||
impl: { | impl: { | ||
init: func(nd,symbol), | init: func(nd,symbol) {}, | ||
predicate: func(nd) nd.in_mode('toggle_display_mode', ['PLAN']), | predicate: func(nd) { nd.in_mode('toggle_display_mode', ['PLAN']) }, | ||
is_true: func(nd) nd.symbols.planArcs.show(), | is_true: func(nd) { nd.symbols.planArcs.show() }, | ||
is_false: func(nd) nd.symbols.planArcs.hide(), | is_false: func(nd) { nd.symbols.planArcs.hide() }, | ||
}, | }, | ||
}, | }, |