|
@@ -1,5 +1,5 @@
|
|
|
/**
|
|
|
- * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
|
+ * Copyright (c) 2018-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
|
*
|
|
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -71,9 +71,10 @@ const DefaultViewerOptions = {
|
|
|
layoutShowLog: true,
|
|
|
layoutShowLeftPanel: true,
|
|
|
collapseLeftPanel: false,
|
|
|
- disableAntialiasing: false,
|
|
|
- pixelScale: 1,
|
|
|
- enableWboit: true,
|
|
|
+ disableAntialiasing: PluginConfig.General.DisableAntialiasing.defaultValue,
|
|
|
+ pixelScale: PluginConfig.General.PixelScale.defaultValue,
|
|
|
+ pickScale: PluginConfig.General.PickScale.defaultValue,
|
|
|
+ enableWboit: PluginConfig.General.EnableWboit.defaultValue,
|
|
|
|
|
|
viewportShowExpand: PluginConfig.Viewport.ShowExpand.defaultValue,
|
|
|
viewportShowControls: PluginConfig.Viewport.ShowControls.defaultValue,
|
|
@@ -130,6 +131,7 @@ export class Viewer {
|
|
|
config: [
|
|
|
[PluginConfig.General.DisableAntialiasing, o.disableAntialiasing],
|
|
|
[PluginConfig.General.PixelScale, o.pixelScale],
|
|
|
+ [PluginConfig.General.PickScale, o.pickScale],
|
|
|
[PluginConfig.General.EnableWboit, o.enableWboit],
|
|
|
[PluginConfig.Viewport.ShowExpand, o.viewportShowExpand],
|
|
|
[PluginConfig.Viewport.ShowControls, o.viewportShowControls],
|