@nrbx/topbar-components 1.1.12 → 1.1.14

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.
@@ -10,7 +10,7 @@ local function useVoicechatEnabled()
10
10
  local enabled, setEnabled = useState(false)
11
11
  useEffect(function()
12
12
  TS.Promise.try(function()
13
- return VoiceChatService:IsVoiceEnabledForUserIdAsync(Players.LocalPlayer)
13
+ return VoiceChatService:IsVoiceEnabledForUserIdAsync(Players.LocalPlayer.User)
14
14
  end):andThen(setEnabled)
15
15
  end, {})
16
16
  return enabled
package/out/style.luau CHANGED
@@ -135,9 +135,9 @@ local DefaultStylesheet = {
135
135
  backgroundColor = Color3.new(1, 1, 1),
136
136
  backgroundTransparency = 0,
137
137
  textColor = Color3.fromRGB(57, 60, 65),
138
- textSize = 13,
138
+ textSize = 12,
139
139
  fontFace = Font.new("rbxasset://fonts/families/GothamSSm.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal),
140
- position = UDim2.new(1, 17 / 2, 0, -(17 / 2)),
140
+ position = UDim2.new(1, 17 / 4, 0, -(17 / 4)),
141
141
  size = UDim2.new(0, 17, 0, 17),
142
142
  cornerRadius = UDim.new(1, 0),
143
143
  borderColor = Color3.new(1, 1, 1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrbx/topbar-components",
3
- "version": "1.1.12",
3
+ "version": "1.1.14",
4
4
  "main": "out/init.luau",
5
5
  "scripts": {
6
6
  "build": "rbxtsc",