瀏覽代碼

#3277 Changed stroke to isStroke to match boolean naming conventions

pixelscommander 7 年之前
父節點
當前提交
d8bd1bbc32
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Layer/babylon.highlightlayer.ts

+ 3 - 3
src/Layer/babylon.highlightlayer.ts

@@ -67,9 +67,9 @@
         camera: Nullable<Camera>;
         camera: Nullable<Camera>;
 
 
         /**
         /**
-         * Threshold for cutting glow.
+         * Should we display highlight as a solid stroke?
          */
          */
-        stroke?: boolean;
+        isStroke?: boolean;
     }
     }
 
 
     /**
     /**
@@ -304,7 +304,7 @@
                 [VertexBuffer.PositionKind],
                 [VertexBuffer.PositionKind],
                 ["offset"],
                 ["offset"],
                 ["textureSampler"],
                 ["textureSampler"],
-                this._options.stroke ? "#define STROKE \n" : undefined);
+                this._options.isStroke ? "#define STROKE \n" : undefined);
 
 
             // Render target
             // Render target
             this.setMainTextureSize();
             this.setMainTextureSize();