Explorar o código

fixed static constructors not allowed

ncannasse %!s(int64=12) %!d(string=hai) anos
pai
achega
a0dffabdec
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      h2d/comp/ColorPicker.hx
  2. 1 1
      h2d/comp/GradientEditor.hx

+ 1 - 1
h2d/comp/ColorPicker.hx

@@ -28,7 +28,7 @@ private enum CompStyle {
 }
 
 private class Style {
-	static public function new () {
+	public function new () {
 	}
 	
 	public static function get(kind:CompStyle) {

+ 1 - 1
h2d/comp/GradientEditor.hx

@@ -16,7 +16,7 @@ private enum CompStyle {
 }
 
 private class Style {
-	static public function new () {
+	public function new () {
 	}
 	
 	public static function get(kind:CompStyle) {