@quenty/sprites 13.19.0 → 13.19.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
|
+
## [13.19.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sprites@13.19.0...@quenty/sprites@13.19.1) (2025-11-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/sprites
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [13.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sprites@13.18.0...@quenty/sprites@13.19.0) (2025-09-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/sprites
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/sprites",
|
|
3
|
-
"version": "13.19.
|
|
3
|
+
"version": "13.19.1",
|
|
4
4
|
"description": "Spritesheet utility for Roblox including a built-in InputImageLibrary",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@quenty/baseobject": "^10.9.0",
|
|
30
30
|
"@quenty/loader": "^10.9.0",
|
|
31
31
|
"@quenty/maid": "^3.5.0",
|
|
32
|
-
"@quenty/uiobjectutils": "^6.19.
|
|
32
|
+
"@quenty/uiobjectutils": "^6.19.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@quenty/string": "^3.3.3"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f14f6bf0f8ca2b041c70ed27b68ad385a76e6164"
|
|
41
41
|
}
|
|
@@ -94,7 +94,7 @@ local MOUSE = {
|
|
|
94
94
|
local function createInputKey(keyCode, theme, platform, parent)
|
|
95
95
|
local container = Instance.new("Frame")
|
|
96
96
|
container.BorderSizePixel = 0
|
|
97
|
-
container.Size = UDim2.
|
|
97
|
+
container.Size = UDim2.fromScale(1, 1)
|
|
98
98
|
|
|
99
99
|
UICornerUtils.fromOffset(8, container)
|
|
100
100
|
|
|
@@ -109,7 +109,7 @@ local function createInputKey(keyCode, theme, platform, parent)
|
|
|
109
109
|
phaseTextLabel.TextColor3 = Color3.new(0.1, 0.1, 0.1)
|
|
110
110
|
phaseTextLabel.Size = UDim2.new(1, 0, 0, 30)
|
|
111
111
|
phaseTextLabel.AnchorPoint = Vector2.new(0.5, 0)
|
|
112
|
-
phaseTextLabel.Position = UDim2.
|
|
112
|
+
phaseTextLabel.Position = UDim2.fromScale(0.5, 0)
|
|
113
113
|
phaseTextLabel.TextWrapped = false
|
|
114
114
|
phaseTextLabel.BackgroundTransparency = 1
|
|
115
115
|
phaseTextLabel.LayoutOrder = 2
|
|
@@ -133,7 +133,7 @@ local function makeTitle(title, parent)
|
|
|
133
133
|
titleLabel.Font = Enum.Font.Highway
|
|
134
134
|
titleLabel.Size = UDim2.new(1, -10, 0, 40)
|
|
135
135
|
titleLabel.AnchorPoint = Vector2.new(0.5, 0)
|
|
136
|
-
titleLabel.Position = UDim2.
|
|
136
|
+
titleLabel.Position = UDim2.fromScale(0.5, 0)
|
|
137
137
|
titleLabel.TextWrapped = true
|
|
138
138
|
titleLabel.BackgroundTransparency = 1
|
|
139
139
|
titleLabel.LayoutOrder = 2
|
|
@@ -146,7 +146,7 @@ local function makeSection(keycodes, theme, platform, parent)
|
|
|
146
146
|
local container = Instance.new("Frame")
|
|
147
147
|
container.BorderSizePixel = 0
|
|
148
148
|
container.BackgroundTransparency = 1
|
|
149
|
-
container.Size = UDim2.
|
|
149
|
+
container.Size = UDim2.fromScale(1, 0)
|
|
150
150
|
container.BackgroundColor3 = Color3.new(0.5, 0, 0)
|
|
151
151
|
container.AutomaticSize = Enum.AutomaticSize.Y
|
|
152
152
|
|
|
@@ -155,7 +155,7 @@ local function makeSection(keycodes, theme, platform, parent)
|
|
|
155
155
|
uiGridLayout.VerticalAlignment = Enum.VerticalAlignment.Top
|
|
156
156
|
uiGridLayout.FillDirection = Enum.FillDirection.Horizontal
|
|
157
157
|
uiGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
|
158
|
-
uiGridLayout.CellSize = UDim2.
|
|
158
|
+
uiGridLayout.CellSize = UDim2.fromOffset(100, 130)
|
|
159
159
|
uiGridLayout.Parent = container
|
|
160
160
|
|
|
161
161
|
for _, item in keycodes do
|
|
@@ -171,8 +171,8 @@ return function(target)
|
|
|
171
171
|
local maid = Maid.new()
|
|
172
172
|
|
|
173
173
|
local scrollingFrame = Instance.new("ScrollingFrame")
|
|
174
|
-
scrollingFrame.Size = UDim2.
|
|
175
|
-
scrollingFrame.CanvasSize = UDim2.
|
|
174
|
+
scrollingFrame.Size = UDim2.fromScale(1, 1)
|
|
175
|
+
scrollingFrame.CanvasSize = UDim2.fromScale(1, 5)
|
|
176
176
|
scrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
|
|
177
177
|
scrollingFrame.BackgroundTransparency = 0
|
|
178
178
|
scrollingFrame.BorderSizePixel = 0
|
|
@@ -136,7 +136,7 @@ function InputImageLibrary:GetScaledImageLabel(keyCode, preferredStyle: string?,
|
|
|
136
136
|
uiAspectRatio.AspectRatio = ratio
|
|
137
137
|
uiAspectRatio.Parent = image
|
|
138
138
|
|
|
139
|
-
image.Size = UDim2.
|
|
139
|
+
image.Size = UDim2.fromScale(1, 1)
|
|
140
140
|
|
|
141
141
|
return image
|
|
142
142
|
end
|
|
@@ -75,7 +75,7 @@ function Sprite:Get(instanceType: "ImageLabel" | "ImageButton"): ImageLabel | Im
|
|
|
75
75
|
assert(type(instanceType) == "string", "Bad instanceType")
|
|
76
76
|
|
|
77
77
|
local gui: any = Instance.new(instanceType)
|
|
78
|
-
gui.Size = UDim2.
|
|
78
|
+
gui.Size = UDim2.fromOffset(self.Size.X, self.Size.Y)
|
|
79
79
|
gui.Name = self.Name
|
|
80
80
|
gui.BackgroundTransparency = 1
|
|
81
81
|
gui.BorderSizePixel = 1
|