mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
Corrected the typo which prevents the conventional A/C icon selection
This commit is contained in:
@@ -63,7 +63,7 @@ class track = fun ?(name="Noname") ?(icon="fixedwing") ?(size = 500) ?(color="re
|
|||||||
let icon_template = match icon with
|
let icon_template = match icon with
|
||||||
| "home" -> ACI.icon_home_template
|
| "home" -> ACI.icon_home_template
|
||||||
| "rotorcraft" -> ACI.icon_rotorcraft_template
|
| "rotorcraft" -> ACI.icon_rotorcraft_template
|
||||||
| "flyingwing" | _ -> ACI.icon_flyingwing_template
|
| "flyingwing" -> ACI.icon_flyingwing_template
|
||||||
| "fixedwing" | _ -> ACI.icon_fixedwing_template
|
| "fixedwing" | _ -> ACI.icon_fixedwing_template
|
||||||
in
|
in
|
||||||
let _ac_icon = new ACI.widget ~color ~icon_template aircraft in
|
let _ac_icon = new ACI.widget ~color ~icon_template aircraft in
|
||||||
|
|||||||
Reference in New Issue
Block a user