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