Переглянути джерело

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