Commit Graph

862 Commits

Author SHA1 Message Date
d3a4890c31 Merge branch 'master' into realm-integration/stable-export-flow 2021-11-25 19:06:18 +09:00
e2ebcf7a26 Remove unnecessary manager parameter
Confused why I added this in the first place..
2021-11-25 18:36:03 +09:00
79459c1aeb Fix typo in class and variable names 2021-11-25 17:12:15 +09:00
cc1b91e4bd Split out legacy model export logic into LegacyModelExporter classes 2021-11-25 16:41:12 +09:00
9dcb20a821 Rename Stable to Legacy and add xmldoc 2021-11-25 15:39:05 +09:00
84268c3d85 Merge branch 'master' into realm-ruleset-keybinding-short-name 2021-11-24 13:48:48 +09:00
6183d1cd46 Merge pull request #15769 from peppy/model-equality-consistency
Update cases where equality can be used instead of primary key equality
2021-11-24 13:45:57 +09:00
729f681938 Update cases where equality can be used instead of primary key equality 2021-11-24 12:49:57 +09:00
0eea026afb Remove null checks on CreateInstance() calls 2021-11-24 12:23:09 +09:00
0d409fa33e Merge branch 'master' into realm-ruleset-keybinding-short-name 2021-11-23 20:18:58 +01:00
fd4d5e98a7 Merge pull request #15745 from bdach/settings-number-box-stack-overflow
Fix crashes on trying to play back replays of seeded mods with seed value over 1 billion
2021-11-23 16:36:05 +09:00
0989d6a92e Merge branch 'realm-ruleset-setting-short-name' into realm-ruleset-keybinding-short-name 2021-11-23 14:55:40 +09:00
feb983d5bd Rename Debug namespace to avoid collisions 2021-11-23 13:09:41 +09:00
4a9f080f3c Accept full range of int in SettingsNumberBox
This fixes stack overflow exceptions that would arise when a
`Current.Value` of 1 billion or more was set on a `SettingsNumberBox`.
The stack overflow was caused by the "maximum 9 digits" spec. If a value
technically within `int` bounds, but larger than 1 billion (in the range
[1,000,000,000; 2,147,483,647], to be more precise), a feedback loop
between the setting control's `Current` and its inner text box's
`Current` would occur, wherein the last digit would be trimmed and then
re-appended again forevermore.

To resolve, remove the offending spec and rely on `int.TryParse`
entirely to be able to discern overflow range. Additionally, UX of the
text box is slightly changed to notify when the `int` range is exceeded
with a red flash.

This behaviour would not have been possible to implement without recent
framework-side fixes to text box (removal of text set scheduling).
2021-11-22 20:49:14 +01:00
d94b27a8a2 Switch realm ruleset key bindings to use ruleset's ShortName as key 2021-11-22 18:52:30 +09:00
cb2d1f3f04 Use horizontally symmetrical padding rather than margin 2021-11-12 20:28:42 +01:00
b7e7b0f850 Trim whitespace. 2021-11-08 21:42:51 +01:00
e6f39c4cad Fix settings header text overflowing with some locales. 2021-11-08 21:38:01 +01:00
8a23b648fe Move HoverClickSounds to the clickable button 2021-11-08 14:32:00 +01:00
49c26a465c Debounce and schedule updates to key combinations 2021-11-08 18:29:11 +09:00
b4225804ed Add missing null check 2021-11-08 18:26:12 +09:00
f5842e7587 Shorten variable names 2021-11-08 18:24:37 +09:00
82f24b0502 Revert "Change font to default"
This reverts commit cc286f165d.
2021-11-08 18:16:06 +09:00
3183b20e2f Merge branch 'master' into use-ReadableKeyCombinationProvider 2021-11-08 18:15:49 +09:00
cc286f165d Change font to default
Non-english letters look tiny with size 10
and don't fit into the look.
2021-11-08 06:56:57 +01:00
c3069ad002 Change to use ReadableKeyCombinationProvider
Changes all usages of `KeyCombination.ReadableString()` to
`ReadableKeyCombinationProvider.GetReadableString()`.

Subscribing to `KeymapChanged` is only required in `KeyButton`.
All other places query `GetReadableString()` every time.
2021-11-08 06:55:26 +01:00
78aef9ce86 Merge branch 'master' into remove-stupid-weak-reference-bindable-events 2021-11-08 13:35:49 +09:00
0ecf5f201c Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
54f72d68ca Revert weird event flow in model manager/importers 2021-11-05 19:12:49 +09:00
ed00cd9fc5 Remove simple localisable .ToString() calls 2021-11-02 21:42:02 +01:00
e9473db77c Reorder to have video settings next to renderer
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-10-30 20:37:55 +09:00
4d988340eb Add hardware acceleration toggle 2021-10-30 01:02:53 +02:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
51c5d0aec7 Update to be in line with framework changes 2021-10-24 13:21:41 +02:00
6d9d85685f Fix settings item having zero height 2021-10-18 23:30:38 +02:00
88a1b31fae Remove grid usage in SettingsItem 2021-10-18 22:07:32 +02:00
6c3637a62a Remove grid usage in KeyBindingRow 2021-10-18 22:07:30 +02:00
2a41e8bd1f Remove unneeded extra padding from settings number box 2021-10-17 21:50:04 +02:00
552fc1dc8a Adjust key binding rows to accommodate new default value indicator 2021-10-17 21:50:04 +02:00
f422ebb281 Adjust SettingsItem to accommodate new default value indicator 2021-10-17 21:50:03 +02:00
ed2f9dd443 Adjust settings slider spacings 2021-10-15 00:31:06 +02:00
d205483a36 Revert ThemedDropdown-related changes 2021-10-13 21:57:50 +02:00
a2f3a7cba8 Add "themed" dropdown variant and use in settings sidebar 2021-10-12 21:58:43 +02:00
1fba932e84 Adjust settings dropdown spacings 2021-10-12 21:41:33 +02:00
24b87cf655 Change some icons to be more descriptive (still placeholder) 2021-10-12 15:09:59 +09:00
59202d27c7 Add some missing labels 2021-10-12 15:09:59 +09:00
5ca1d1d12c Reorder graphics settings and move gameplay related pieces out 2021-10-12 15:09:59 +09:00
c4347de57e Move ruleset settings to own section 2021-10-12 14:58:43 +09:00
8285f065c2 Reorganise gameplay settings into more sections 2021-10-12 14:58:43 +09:00
1d3d67c5f1 Move gameplay cursor settings to gameplay section 2021-10-12 13:56:10 +09:00