Selaa lähdekoodia

Merge pull request #473 from Ghouly-The-Ghost/patch-1

Fixed typo in a Color constructor, alpha wasn't being used
Mark Sibly 6 vuotta sitten
vanhempi
commit
89b895752d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/std/graphics/color.monkey2

+ 1 - 1
modules/std/graphics/color.monkey2

@@ -168,7 +168,7 @@ Struct Color
 		Self.r=i
 		Self.g=i
 		Self.b=i
-		Self.a=1
+		Self.a=a
 	End
 	
 	Method New( r:Float,g:Float,b:Float,a:Float=1 )