feat(color): Quick Model Select, keep active model in view when changing labels (#2895)

* Fix rebase merge issue.

* Incorporate solution from @ParkerEde in PR #2626

* Fix selection logic for models.

* Select model on first press.

* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.

* German translation.

* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.

* Add translations.

* Prioritise active model as selected model when the set of visible models changes.

* Fix selection ordering when using scroll wheel.
Minor code cleanup.
This commit is contained in:
philmoz
2022-12-23 09:58:49 +10:00
committed by GitHub
parent c099a74da4
commit 3f08af6120
28 changed files with 218 additions and 57 deletions
+4
View File
@@ -767,6 +767,10 @@
#define TR_SAMPLE_MODE "Måle tilstand"
#define TR_SAMPLE_MODES "Normal","EnBit"
#if defined(COLORLCD)
#define TR_MODEL_QUICK_SELECT "Hurtigvalg af model"
#endif
#define TR_SELECT_TEMPLATE_FOLDER "VÆLG EN SKABELON MAPPE:"
#define TR_SELECT_TEMPLATE "VÆLG EN SKABELON til MODEL:"
#define TR_NO_TEMPLATES "Ingen model skabeloner fundet i mappe"