@quenty/screenshothudservice 7.23.0 → 7.23.1

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,14 @@
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.23.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/screenshothudservice@7.23.0...@quenty/screenshothudservice@7.23.1) (2025-11-12)
7
+
8
+ **Note:** Version bump only for package @quenty/screenshothudservice
9
+
10
+
11
+
12
+
13
+
6
14
  # [7.23.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/screenshothudservice@7.22.0...@quenty/screenshothudservice@7.23.0) (2025-10-08)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/screenshothudservice
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/screenshothudservice",
3
- "version": "7.23.0",
3
+ "version": "7.23.1",
4
4
  "description": "Provides centralized API surface for screenshot hud API",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,18 +27,18 @@
27
27
  "dependencies": {
28
28
  "@quenty/baseobject": "^10.9.0",
29
29
  "@quenty/brio": "^14.20.0",
30
- "@quenty/instanceutils": "^13.20.0",
30
+ "@quenty/instanceutils": "^13.20.1",
31
31
  "@quenty/loader": "^10.9.0",
32
32
  "@quenty/maid": "^3.5.0",
33
33
  "@quenty/promise": "^10.12.0",
34
34
  "@quenty/rx": "^13.20.0",
35
35
  "@quenty/servicebag": "^11.13.1",
36
36
  "@quenty/signal": "^7.11.1",
37
- "@quenty/statestack": "^14.22.0",
38
- "@quenty/valueobject": "^13.21.0"
37
+ "@quenty/statestack": "^14.22.1",
38
+ "@quenty/valueobject": "^13.21.1"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "d396d6f77d25ba25f1f45bbc252216131f88eeed"
43
+ "gitHead": "f14f6bf0f8ca2b041c70ed27b68ad385a76e6164"
44
44
  }
@@ -38,8 +38,8 @@ function ScreenshotHudModel.new(): ScreenshotHudModel
38
38
 
39
39
  self._cameraButtonIcon = self._maid:Add(ValueObject.new("", "string"))
40
40
 
41
- self._cameraButtonPosition = self._maid:Add(ValueObject.new(UDim2.new(0, 0, 0, 0)))
42
- self._closeButtonPosition = self._maid:Add(ValueObject.new(UDim2.new(0, 0, 0, 0)))
41
+ self._cameraButtonPosition = self._maid:Add(ValueObject.new(UDim2.fromScale(0, 0)))
42
+ self._closeButtonPosition = self._maid:Add(ValueObject.new(UDim2.fromScale(0, 0)))
43
43
  self._closeWhenScreenshotTaken = self._maid:Add(ValueObject.new(false, "boolean"))
44
44
  self._experienceNameOverlayEnabled = self._maid:Add(ValueObject.new(false, "boolean"))
45
45
  self._overlayFont = self._maid:Add(ValueObject.new(Enum.Font.SourceSans))
@@ -126,7 +126,7 @@ end
126
126
  function ScreenshotHudModel.SetCloseButtonPosition(self: ScreenshotHudModel, position: UDim2 | nil): ()
127
127
  assert(typeof(position) == "UDim2" or position == nil, "Bad position")
128
128
 
129
- self._closeButtonPosition.Value = position or UDim2.new(0, 0, 0, 0)
129
+ self._closeButtonPosition.Value = position or UDim2.fromScale(0, 0)
130
130
  end
131
131
 
132
132
  --[=[
@@ -144,7 +144,7 @@ end
144
144
  function ScreenshotHudModel.SetCameraButtonPosition(self: ScreenshotHudModel, position: UDim2 | nil): ()
145
145
  assert(typeof(position) == "UDim2" or position == nil, "Bad position")
146
146
 
147
- self._cameraButtonPosition.Value = position or UDim2.new(0, 0, 0, 0)
147
+ self._cameraButtonPosition.Value = position or UDim2.fromScale(0, 0)
148
148
  end
149
149
 
150
150
  --[=[
@@ -64,7 +64,7 @@ function ScreenshotHudServiceClient:_bindModelToHUD(maid: Maid.Maid, model, scre
64
64
  screenshotHUD.CloseButtonPosition = state.position
65
65
  else
66
66
  -- Hack to hide the close button
67
- screenshotHUD.CloseButtonPosition = UDim2.new(2, 0, 2, 0)
67
+ screenshotHUD.CloseButtonPosition = UDim2.fromScale(2, 2)
68
68
  end
69
69
  end))
70
70
 
@@ -77,7 +77,7 @@ function ScreenshotHudServiceClient:_bindModelToHUD(maid: Maid.Maid, model, scre
77
77
  screenshotHUD.CameraButtonPosition = state.position
78
78
  else
79
79
  -- Hack to hide the close button
80
- screenshotHUD.CameraButtonPosition = UDim2.new(2, 0, 2, 0)
80
+ screenshotHUD.CameraButtonPosition = UDim2.fromScale(2, 2)
81
81
  end
82
82
  end))
83
83