ソースを参照

removed static constructors

ncannasse 12 年 前
コミット
6f2a3ce519
2 ファイル変更2 行追加2 行削除
  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 {
 private class Style {
-	static public function new () {
+	public function new () {
 	}
 	}
 	
 	
 	public static function get(kind:CompStyle) {
 	public static function get(kind:CompStyle) {

+ 1 - 1
h2d/comp/GradientEditor.hx

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