Only apply the selection hack for the WebGL renderer

This commit is contained in:
Juan Campa
2019-01-21 18:56:54 -05:00
parent 62ac714d38
commit 3077ae5311
2 changed files with 11 additions and 9 deletions
+1
View File
@@ -52,6 +52,7 @@ export class WebglRenderer extends EventEmitter implements IRenderer {
this.colorManager = new ColorManager(document, allowTransparency);
if (theme) {
this.colorManager.setTheme(theme);
this.colorManager.applyWebglSelectionColorHack();
}
this._renderLayers = [