소스 검색

Fix shirotools

Clement Espeute 1 년 전
부모
커밋
64ebed912f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hrt/impl/Gradient.hx

+ 2 - 0
hrt/impl/Gradient.hx

@@ -21,6 +21,7 @@ typedef GradientData = {
 };
 
 class Gradient {
+
     public var data : GradientData = {
         stops: new Array<ColorStop>(),
         resolution: 32,
@@ -107,6 +108,7 @@ class Gradient {
                 outVector.a = cubicInterpolate(start.a, end.a, c0.a, c3.a, blend);
             default:
                 throw "Unknown interpolation mode";
+
         }
 
         var tmp = func.valueToARGB(outVector, null);