فهرست منبع

Fixed typo, alpha wasn't being used

line 171: `Self.a=1` instead of using the optionally passed a.
Ghouly The Ghost 6 سال پیش
والد
کامیت
eeb4459fcd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 )