Browse Source

Fix shirotools

Clement Espeute 1 năm trước cách đây
mục cha
commit
64ebed912f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);