option was renamed to `scale` instead of `size` because `scale`
describes the technical fact better than `size`.
Please also see DEVELOPERS message in `hud_element_scale.lua` file if
you’re interested in contributing to this project.
Addresses https://gitlab.com/4w/mtimer/-/issues/16
This also adds a palette to the color dialog so players can pick a color
without typing in the hexadecimal number of it.
Addresses https://gitlab.com/4w/mtimer/-/issues/16
Unfortunately the formspec seems not to be properly updated when
unchecking a checkbox, even if fields are sent and thus the formspec
action should be triggered. This causes unselecting the currently
selected timer type to be unselected when uinselecting it – instead of
updating the formspec and show the selected option again.
This is just a “visual glitch” and does not affect the timer
functionality. When re-opening the timer window the type is selected
correctly again.
addresses https://gitlab.com/4w/mtimer/-/issues/11
Convert ingame time to millihours and calculate the timestamp from this.
It results in a default timestampo that is parsed by default date and
time functions.
Replacement variables:
{24h} = 24 hours time
{12h} = 12 hours time
{min} = minutes
{its} = ingame timestamp
For some reason I was not able to get the am/pm indicator (`%p`) so 12
hours format is only the time and no optional indicator.