Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Mar 8, 2020
1 parent 12c4f71 commit 6468f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/arcgis/src/arcgis-deck-external-renderer.js
Expand Up @@ -21,7 +21,7 @@ export default function loadArcGISDeckExternalRenderer(DeckProps, externalRender

this.initializeDeckGL(gl);

this.deck.watch(Object.keys(this.deck), (newValue, oldValue, propName) => {
this.deck.watch(Object.keys(this.deck.properties), (newValue, oldValue, propName) => {
this.deckgl.setProps({[propName]: newValue});
});

Expand Down
2 changes: 1 addition & 1 deletion modules/arcgis/src/arcgis-deck-layer-view-2d.js
Expand Up @@ -26,7 +26,7 @@ export default function loadArcGISDeckLayerView2D(BaseLayerViewGL2D) {
this.initializeDeckGL(gl);

// Update deck props
this.layer.on('deckpropchanged', this.deckgl.setProps);
this.layer.on('deckpropchanged', props => this.deckgl.setProps(props));

// We need to start drawing the deck.gl layer immediately.
this.deckgl.setProps(this.layer.deck.toJSON());
Expand Down

0 comments on commit 6468f1b

Please sign in to comment.