feat(color): More compact Flight Mode list and edit views (#3344)
* Flight mode list and edit changes: - Update trim ranges in Companion to match radio. - Move trims setup to main edit view instead of dialog popup. - Show/edit current trim value for each trim (if enabled) * Show flight mode list view like logical switches. * Update FM trim values in edit window if trim is changed (via trim switch). * Use styles for layout * Remove grid layouts - use flex flow as it is faster. * Speed up page build time. Reduces build time on TX16S Mk2 from ~320ms to ~25ms. * Fix touch screen events.
This commit is contained in:
@@ -75,7 +75,6 @@ enum SwitchContext
|
||||
int circularIncDec(int current, int inc, int min, int max, IsValueAvailable isValueAvailable=nullptr);
|
||||
int getFirstAvailable(int min, int max, IsValueAvailable isValueAvailable);
|
||||
|
||||
bool isTrimModeAvailable(int mode);
|
||||
bool isInputAvailable(int input);
|
||||
bool isSourceAvailableInInputs(int source);
|
||||
bool isThrottleSourceAvailable(int source);
|
||||
|
||||
Reference in New Issue
Block a user