Skip to content

Commit

Permalink
Examples: set useDevicePixelRatio by default (visgl#1060)
Browse files Browse the repository at this point in the history
* Layer-browser: set useDevicePixelRation by default
  • Loading branch information
1chandu authored and ibgreen committed Oct 20, 2017
1 parent 3760682 commit 2645c8e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion dev-docs/RFCs/v5.0/multi-viewport-rfc.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ Since deck.gl is WebGL based, all its viewports need to be in the same canvas (u
width={viewportProps.width}
height={viewportProps.height}
viewports={viewports}
useDevicePixelRatio={false}
layers={this._renderLayers()} />

</ViewportLayout>
Expand Down
1 change: 0 additions & 1 deletion docs/advanced/viewports.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ In this example the `StaticMap` component gets automatically position under the
width={viewportProps.width}
height={viewportProps.height}
viewports={viewports}
useDevicePixelRatio={false}
layers={this._renderLayers()} />

</ViewportLayout>
Expand Down
2 changes: 1 addition & 1 deletion examples/layer-browser/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class App extends PureComponent {
},
settings: {
multiview: false,
useDevicePixelRatio: false,
useDevicePixelRatio: true,
pickingRadius: 0,
drawPickingColors: false,

Expand Down
1 change: 0 additions & 1 deletion examples/wip/first-person-map/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ class Root extends Component {
width={viewportProps.width}
height={viewportProps.height}
viewports={viewports}
useDevicePixelRatio={false}
layers={this._renderLayers()}
initWebGLParameters
>
Expand Down

0 comments on commit 2645c8e

Please sign in to comment.