@quenty/colorpicker 4.9.0 → 4.10.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
|
+
# [4.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/colorpicker@4.9.0...@quenty/colorpicker@4.10.0) (2023-02-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix sizing when negative on color picker ([9e8d4f6](https://github.com/Quenty/NevermoreEngine/commit/9e8d4f6b22232fa0e93a45e22e17b35388a43787))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [4.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/colorpicker@4.8.0...@quenty/colorpicker@4.9.0) (2023-01-11)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/colorpicker
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/colorpicker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Color picking UI system for Roblox.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/baseobject": "^6.0
|
|
32
|
-
"@quenty/basicpane": "^7.
|
|
33
|
-
"@quenty/blend": "^6.
|
|
34
|
-
"@quenty/color3utils": "^5.
|
|
31
|
+
"@quenty/baseobject": "^6.1.0",
|
|
32
|
+
"@quenty/basicpane": "^7.5.0",
|
|
33
|
+
"@quenty/blend": "^6.8.0",
|
|
34
|
+
"@quenty/color3utils": "^5.9.0",
|
|
35
35
|
"@quenty/inputobjectutils": "^4.0.0",
|
|
36
|
-
"@quenty/instanceutils": "^7.
|
|
37
|
-
"@quenty/loader": "^6.0
|
|
36
|
+
"@quenty/instanceutils": "^7.6.0",
|
|
37
|
+
"@quenty/loader": "^6.1.0",
|
|
38
38
|
"@quenty/maid": "^2.4.0",
|
|
39
39
|
"@quenty/math": "^2.2.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "e084b0cc097ddbcb7c782b8ecbd9c2d619c49354"
|
|
42
42
|
}
|
|
@@ -73,7 +73,7 @@ function ColorPickerTriangle:_render()
|
|
|
73
73
|
};
|
|
74
74
|
Blend.New "UIAspectRatioConstraint" {
|
|
75
75
|
AspectRatio = Blend.Computed(self._sizeValue, function(size)
|
|
76
|
-
if size.x
|
|
76
|
+
if size.x <= 0 or size.y <= 0 then
|
|
77
77
|
return 1
|
|
78
78
|
else
|
|
79
79
|
return size.x/size.y
|
|
@@ -185,7 +185,7 @@ function HSColorPicker:_render()
|
|
|
185
185
|
[Blend.Children] = {
|
|
186
186
|
Blend.New "UIAspectRatioConstraint" {
|
|
187
187
|
AspectRatio = Blend.Computed(self._sizeValue, function(size)
|
|
188
|
-
if size.x
|
|
188
|
+
if size.x <= 0 or size.y <= 0 then
|
|
189
189
|
return 1
|
|
190
190
|
else
|
|
191
191
|
return size.x/size.y
|
|
@@ -228,7 +228,7 @@ function HSVColorPicker:_render()
|
|
|
228
228
|
picker.Gui;
|
|
229
229
|
Blend.New "UIAspectRatioConstraint" {
|
|
230
230
|
AspectRatio = Blend.Computed(picker:GetSizeValue(), function(size)
|
|
231
|
-
if size.x
|
|
231
|
+
if size.x <= 0 or size.y <= 0 then
|
|
232
232
|
return 1
|
|
233
233
|
else
|
|
234
234
|
return size.x/size.y
|
|
@@ -246,7 +246,7 @@ function HSVColorPicker:_render()
|
|
|
246
246
|
[Blend.Children] = {
|
|
247
247
|
Blend.New "UIAspectRatioConstraint" {
|
|
248
248
|
AspectRatio = Blend.Computed(self._sizeValue, function(size)
|
|
249
|
-
if size.x
|
|
249
|
+
if size.x <= 0 or size.y <= 0 then
|
|
250
250
|
return 1
|
|
251
251
|
else
|
|
252
252
|
return size.x/size.y
|
|
@@ -195,7 +195,7 @@ function ValueColorPicker:_render()
|
|
|
195
195
|
[Blend.Children] = {
|
|
196
196
|
Blend.New "UIAspectRatioConstraint" {
|
|
197
197
|
AspectRatio = Blend.Computed(self._sizeValue, function(size)
|
|
198
|
-
if size.x
|
|
198
|
+
if size.x <= 0 or size.y <= 0 then
|
|
199
199
|
return 1
|
|
200
200
|
else
|
|
201
201
|
return size.x/size.y
|