@quenty/coreguienabler 5.1.0 → 5.2.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 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
+ # [5.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/coreguienabler@5.1.0...@quenty/coreguienabler@5.2.0) (2022-07-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Stop leaking MouseIconEnabled property events in CoreGuiEnabler ([55e2b8c](https://github.com/Quenty/NevermoreEngine/commit/55e2b8cbb7bc504d20fcc7d6b6505f74cce48ed9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [5.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/coreguienabler@5.0.0...@quenty/coreguienabler@5.1.0) (2022-06-24)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/coreguienabler
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/coreguienabler",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "Key based CoreGuiEnabler, singleton Use this class to load/unload CoreGuis / other GUIs, by disabling based upon keys Keys are additive, so if you have more than 1 disabled, it's ok.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -24,12 +24,12 @@
24
24
  "Quenty"
25
25
  ],
26
26
  "dependencies": {
27
- "@quenty/characterutils": "^5.1.0",
27
+ "@quenty/characterutils": "^5.2.0",
28
28
  "@quenty/loader": "^5.0.0",
29
- "@quenty/maid": "^2.3.0"
29
+ "@quenty/maid": "^2.4.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "c61297d0df1ec45ff9dddf62043c628f3c285a5d"
34
+ "gitHead": "e31b3a35aa475bb5699a24898a8639e107165b36"
35
35
  }
@@ -57,14 +57,7 @@ function CoreGuiEnabler.new()
57
57
  end)
58
58
 
59
59
  self:AddState("MouseIconEnabled", function(isEnabled)
60
- if isEnabled then
61
- UserInputService.MouseIconEnabled = isEnabled
62
- else
63
- UserInputService.MouseIconEnabled = false
64
- self._maid:GiveTask(UserInputService:GetPropertyChangedSignal("MouseIconEnabled"):Connect(function()
65
- UserInputService.MouseIconEnabled = false
66
- end))
67
- end
60
+ UserInputService.MouseIconEnabled = isEnabled
68
61
  end)
69
62
 
70
63
  return self