Commit Graph

8 Commits

Author SHA1 Message Date
thmichel
f19eb7c276 Fixed compiler warning for unreachable code 2025-10-29 19:18:06 +01:00
Philip Abbey
d1f6f6d9d2 Deduped picker variable 2025-10-29 15:14:30 +00:00
Philip Abbey
a5ddb65512 Suggested code changes from philipabbey
1. attribute is option, so needs a different template in the API call when absent.
2. Automatically derive the format string from the picker step value for any precision of step.
3. Changed all Lang.String representations of numbers to Lang.Number or Lang.Float. I'm keen to remove the use of strings to hold a numeric value.
4. Tidied up and completed some code comments.
5. Adjusted the JSON schema definition. This is still not finished as the 'picker' object is required for 'numeric' menu items and must not be present for the others. Additional schema changes are required for greater precision.
6. Moved fields over from 'data' to 'picker'.
2025-10-29 14:26:02 +00:00
thmichel
2cd171637c Reworked numericMenuItem to be able to display a different conten in the sublabel than jus a number. 2025-10-25 21:26:44 +02:00
thmichel
4348c899ae Fixed crash when value was int instead of float 2025-10-16 13:34:39 +02:00
thmichel
9a61c9ce77 Code cleanup 2025-10-11 22:00:43 +02:00
thmichel
2981893af7 Using a Picker to set new value 2025-10-11 21:51:50 +02:00
thmichel
52e2efddd8 Added numeric Menu Item 2025-10-10 11:46:20 +02:00