@quenty/coreguienabler 12.16.0 → 12.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 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
+ # [12.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/coreguienabler@12.16.0...@quenty/coreguienabler@12.17.0) (2025-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add EnableMouseLockOption to CoreGuiEnabler ([970a8da](https://github.com/Quenty/NevermoreEngine/commit/970a8dae16e83dd52e4d0c60b049873b1966b7b5))
12
+
13
+
14
+
15
+
16
+
6
17
  # [12.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/coreguienabler@12.15.0...@quenty/coreguienabler@12.16.0) (2025-01-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": "12.16.0",
3
+ "version": "12.17.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,14 +24,14 @@
24
24
  "Quenty"
25
25
  ],
26
26
  "dependencies": {
27
- "@quenty/characterutils": "^12.16.0",
28
- "@quenty/loader": "^10.7.1",
27
+ "@quenty/characterutils": "^12.17.0",
28
+ "@quenty/loader": "^10.8.0",
29
29
  "@quenty/maid": "^3.4.0",
30
- "@quenty/rx": "^13.15.0",
30
+ "@quenty/rx": "^13.16.0",
31
31
  "@quenty/symbol": "^3.4.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "139153f54f20e0f1420b584f4650e1ec5950b6a2"
36
+ "gitHead": "184a407d8d7366c39009444c3c9a7023cb176471"
37
37
  }
@@ -21,6 +21,7 @@ local Players = game:GetService("Players")
21
21
  local HttpService = game:GetService("HttpService")
22
22
  local StarterGui = game:GetService("StarterGui")
23
23
  local UserInputService = game:GetService("UserInputService")
24
+ local StarterPlayer = game:GetService("StarterPlayer")
24
25
 
25
26
  local CharacterUtils = require("CharacterUtils")
26
27
  local Maid = require("Maid")
@@ -87,6 +88,10 @@ function CoreGuiEnabler.new()
87
88
  UserInputService.ModalEnabled = not isEnabled
88
89
  end)
89
90
 
91
+ self:AddState("EnableMouseLockOption", function(isEnabled)
92
+ StarterPlayer.EnableMouseLockOption = isEnabled
93
+ end)
94
+
90
95
  self:AddState("MouseIconEnabled", function(isEnabled)
91
96
  UserInputService.MouseIconEnabled = isEnabled
92
97
  end)