Skip to content

Commit 6a2affb

Browse files
remove redundant diffusealpha calls
1 parent 802720c commit 6a2affb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Themes/Til Death/BGAnimations/_chartpreview.lua‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ local t = Def.ActorFrame {
7474
Name = "BG",
7575
InitCommand = function(self)
7676
self:xy(wodth/2, SCREEN_HEIGHT/2)
77-
self:zoomto(wodth*2/3, SCREEN_HEIGHT):diffuse(color("0.05,0.05,0.05,0.05")):diffusealpha(1)
77+
self:zoomto(wodth*2/3, SCREEN_HEIGHT):diffuse(color("0.05,0.05,0.05,1"))
7878
end
7979
},
8080
LoadFont("Common Normal") .. {
@@ -87,7 +87,7 @@ local t = Def.ActorFrame {
8787
Def.Quad {
8888
Name = "PosBG",
8989
InitCommand = function(self)
90-
self:zoomto(wodth, hidth):diffusealpha(1):halign(0):diffuse(color("1,1,1,1"))
90+
self:zoomto(wodth, hidth):halign(0):diffuse(color("1,1,1,1"))
9191
end,
9292
HighlightCommand = function(self) -- use the bg for detection but move the seek pointer -mina
9393
if isOver(self) then

0 commit comments

Comments
 (0)