@quenty/inputmode 7.16.0 → 7.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +2 -2
- package/src/Shared/InputModeType.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [7.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@7.16.0...@quenty/inputmode@7.17.0) (2023-04-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* FIx issue where adding sub-dependent input modes would fail ([1836e7b](https://github.com/Quenty/NevermoreEngine/commit/1836e7b0808adfbf4a3fb5b0140d8bdc0114dd56))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@7.15.1...@quenty/inputmode@7.16.0) (2023-04-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/inputmode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/inputmode",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.17.0",
|
|
4
4
|
"description": "Trace input mode state and trigger changes correctly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a8a760988c8fd88c2581c5c496a8bad845de104c"
|
|
39
39
|
}
|
|
@@ -65,7 +65,7 @@ function InputModeType:_addValidTypesFromTable(keys)
|
|
|
65
65
|
elseif InputModeType.isInputModeType(key) then
|
|
66
66
|
self:_addInputModeType(key)
|
|
67
67
|
else
|
|
68
|
-
warn("
|
|
68
|
+
warn(string.format("[InputModeType] - Invalid key of value %q of type %s", tostring(key), typeof(key)))
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
end
|
|
@@ -73,7 +73,7 @@ end
|
|
|
73
73
|
function InputModeType:_addInputModeType(inputModeType)
|
|
74
74
|
assert(InputModeType.isInputModeType(inputModeType), "Bad inputModeType")
|
|
75
75
|
|
|
76
|
-
for
|
|
76
|
+
for _, key in pairs(inputModeType._keys) do
|
|
77
77
|
if not self._valid[key] then
|
|
78
78
|
self._valid[key] = true
|
|
79
79
|
table.insert(self._keys, key)
|