瀏覽代碼

initial push

Patrick Ryan 6 年之前
父節點
當前提交
bebc44a0ce
共有 2 個文件被更改,包括 14 次插入8 次删除
  1. 4 0
      gui/src/2D/controls/colorpicker.ts
  2. 10 8
      localDev/index.html

+ 4 - 0
gui/src/2D/controls/colorpicker.ts

@@ -425,4 +425,8 @@ export class ColorPicker extends Control {
         delete this._host._capturingControl[pointerId];
         super._onPointerUp(target, coordinates, pointerId, buttonIndex, notifyClick);
     }
+
+    public static ShowPickerDialog() {
+
+    }
 }

+ 10 - 8
localDev/index.html

@@ -55,14 +55,16 @@
         var engine = null;
 
         // Allow querystring to navigate easily in debug in local samples.
-        var indexjs = 'src/index';
-        var sampleSearch = /sample=([0-9]+)/i;
-        var matches = null;
-        if ((matches = sampleSearch.exec(window.location)) !== null) {
-            indexjs += '.';
-            indexjs += matches[1];
-        }
-        indexjs += '.js';
+        // var indexjs = 'src/index';
+        // var sampleSearch = /sample=([0-9]+)/i;
+        // var matches = null;
+        // if ((matches = sampleSearch.exec(window.location)) !== null) {
+        //     indexjs += '.';
+        //     indexjs += matches[1];
+        // }
+        // indexjs += '.js';
+
+        var indexjs = "http://localhost:1234/index.js"
 
         // Load the scripts + map file to allow vscode debug.
         BABYLONDEVTOOLS.Loader