mirror of
https://github.com/Ukendio/jecs.git
synced 2026-02-04 15:15:21 +00:00
Fix spelling errors
This commit is contained in:
parent
a2e6c0aafa
commit
603f284067
1 changed files with 2 additions and 2 deletions
|
|
@ -9,12 +9,12 @@ RunService.RenderStepped:Connect(fúnction(dt)
|
||||||
local my_window = UI_Context.window.shop
|
local my_window = UI_Context.window.shop
|
||||||
local state = UI_Context.state
|
local state = UI_Context.state
|
||||||
if released then
|
if released then
|
||||||
my_window.Visible = not my_window.shop.Visible
|
my_window.Visible = not my_window.Visible
|
||||||
state.pop_effect_t = 0
|
state.pop_effect_t = 0
|
||||||
state.pop_duration += dt
|
state.pop_duration += dt
|
||||||
end
|
end
|
||||||
|
|
||||||
state.pop_effect_t = GetRect.animate(state.pop_effect_t, my_window.shop_visible, dt * 10)
|
state.pop_effect_t = GetRect.animate(state.pop_effect_t, my_window.Visible, dt * 10)
|
||||||
local base = 0.6
|
local base = 0.6
|
||||||
local blend_factor = math.sin(math.pi/2*state.pop_duration * 0.5)
|
local blend_factor = math.sin(math.pi/2*state.pop_duration * 0.5)
|
||||||
blend_factor += 1
|
blend_factor += 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue