[common] fix Color zero

This commit is contained in:
2018-07-26 21:06:55 +03:00
parent 80f2ac25ad
commit f8bba85eb4

View File

@@ -28,7 +28,7 @@ abstract Color(Int) {
} }
private inline function get_zero():Bool { private inline function get_zero():Bool {
return this == 0; return green == 0 && red == 0 && blue == 0;
} }
@:from @:from