Skip to content

Commit f7cfac4

Browse files
committed
fix: Fix styling
1 parent c989f23 commit f7cfac4

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/animations/src/Shared/AnimationTrackPlayer.lua

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,11 @@ function AnimationTrackPlayer:IsPlaying(): boolean
215215
end
216216

217217
function AnimationTrackPlayer:_onEachTrack(callback)
218-
return self._currentTrack:Observe()
219-
:Subscribe(function(track)
220-
if track ~= nil then
221-
callback(track)
222-
end
223-
end)
218+
return self._currentTrack:Observe():Subscribe(function(track)
219+
if track ~= nil then
220+
callback(track)
221+
end
222+
end)
224223
end
225224

226225
return AnimationTrackPlayer

src/performanceutils/src/Shared/PerformanceUtils.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ function PerformanceUtils.countObject(label: string, object: any): ()
116116
PerformanceUtils.countCalls(label .. "_new", object, "new")
117117
PerformanceUtils.countCalls(label .. "_destroy", object, "Destroy")
118118
PerformanceUtils.setLabelFormat(label .. "_total", function()
119-
return tostring(PerformanceUtils.readCounter(label .. "_new") - PerformanceUtils.readCounter(label .. "_destroy"))
119+
return tostring(
120+
PerformanceUtils.readCounter(label .. "_new") - PerformanceUtils.readCounter(label .. "_destroy")
121+
)
120122
end)
121123
end
122124

0 commit comments

Comments
 (0)