8 Commits
Author SHA1 Message Date
MathiasandClaude Fable 5 4f93c2460e Clamp out-of-range values in the number settings renderer (#9183)
Previously the number renderer silently discarded input outside the
min/max range and restored the stored value, forcing users to guess the
limits. Clamp to the nearest bound instead.

The integer check runs before clamping so that non-integer input is
still rejected for integer settings rather than accepted whenever it
happens to clamp to an integral bound.

The focusLoss handler now always stores the resolved value - the clamped
number, or the previous value when the input cannot be parsed. Writing
the setting is what rebuilds the widget, so a value that clamps onto the
value already stored would otherwise leave the raw text on display.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 08:56:49 +02:00
Cody Glassman 302d92561d docs - begin restructing docs 2025-06-16 15:36:43 -07:00
psi29a 5271241ea6 Merge branch 'clean_docs_lua' into 'master'
Various Documentation Fixes

See merge request OpenMW/openmw!3864
2024-02-14 09:13:32 +00:00
Zackhasacat a95a4c19fc Added fixes for several doc files 2024-02-12 20:06:07 -06:00
uramer f4fed4ca5f Simplify inputBinding renderer, allow binding controller buttons 2024-02-11 16:27:54 +01:00
uramerandpsi29a 0e2e386dc9 Lua actions take 3 2023-12-29 18:56:59 +00:00
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 2023-08-31 20:56:02 +02:00
uramerandPetr Mikheev e591f856fb Renderers 2022-05-24 19:11:13 +00:00