@quenty/rotatinglabel 4.2.0 → 4.3.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 +16 -0
- package/package.json +4 -4
- package/src/Client/RotatingLabel.lua +34 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rotatinglabel@4.2.1...@quenty/rotatinglabel@4.3.0) (2022-01-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/rotatinglabel
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rotatinglabel@4.2.0...@quenty/rotatinglabel@4.2.1) (2022-01-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @quenty/rotatinglabel
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [4.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rotatinglabel@4.1.1...@quenty/rotatinglabel@4.2.0) (2022-01-07)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @quenty/rotatinglabel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/rotatinglabel",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "A text label with most general properties of a textlabel, except when text is set, it rotates uniformly like an old clock, animating in a satisfying way",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/loader": "^3.
|
|
28
|
+
"@quenty/loader": "^3.4.0",
|
|
29
29
|
"@quenty/math": "^2.0.1",
|
|
30
|
-
"@quenty/spring": "^3.
|
|
30
|
+
"@quenty/spring": "^3.3.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c094ba8f4e128cdff08919d89de226d3d65247ce"
|
|
36
36
|
}
|
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
RotatingLabelBuilder.new(Template):Create()
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
:::warning
|
|
10
|
+
This API surface is pretty old and probably should not be used.
|
|
11
|
+
:::
|
|
12
|
+
|
|
9
13
|
@class RotatingLabel
|
|
10
14
|
]=]
|
|
11
15
|
|
|
@@ -105,22 +109,36 @@ function RotatingLabel:__index(index)
|
|
|
105
109
|
end
|
|
106
110
|
end
|
|
107
111
|
|
|
108
|
-
--
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
RotatingLabel
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
RotatingLabel
|
|
122
|
-
|
|
123
|
-
|
|
112
|
+
--[=[
|
|
113
|
+
Sets the text label, which it will automatically update
|
|
114
|
+
@prop Text string
|
|
115
|
+
@within RotatingLabel
|
|
116
|
+
]=]
|
|
117
|
+
--[=[
|
|
118
|
+
Sets the general width of each character
|
|
119
|
+
@prop Width number
|
|
120
|
+
@within RotatingLabel
|
|
121
|
+
]=]
|
|
122
|
+
--[=[
|
|
123
|
+
Sets the transparency
|
|
124
|
+
@prop Transparency number
|
|
125
|
+
@within RotatingLabel
|
|
126
|
+
]=]
|
|
127
|
+
--[=[
|
|
128
|
+
Sets the damper of the underlying spring model
|
|
129
|
+
@prop Damper number
|
|
130
|
+
@within RotatingLabel
|
|
131
|
+
]=]
|
|
132
|
+
--[=[
|
|
133
|
+
Sets the speed of the underlying spring model
|
|
134
|
+
@prop Speed number
|
|
135
|
+
@within RotatingLabel
|
|
136
|
+
]=]
|
|
137
|
+
--[=[
|
|
138
|
+
Sets the alignment on the X axis. Cannot be Center.
|
|
139
|
+
@prop TextXAlignment TextXAlignment
|
|
140
|
+
@within RotatingLabel
|
|
141
|
+
]=]
|
|
124
142
|
function RotatingLabel:__newindex(topindex, value)
|
|
125
143
|
if topindex == "Text" then
|
|
126
144
|
if type(value) == "number" then
|