Skip to content

Commit

Permalink
remove obviated references
Browse files Browse the repository at this point in the history
  • Loading branch information
bcamper committed Jul 21, 2020
1 parent b347aa0 commit 1663070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/styles/text/text_labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const TextLabels = {
}

// Compute text style and layout settings for this feature label
let text_settings = TextSettings.compute(feature, draw, context);
let text_settings = TextSettings.compute(draw, context);
let text_settings_key = TextSettings.key(text_settings);

// first label in tile, or with this style?
Expand Down
3 changes: 1 addition & 2 deletions src/styles/text/text_settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Utils from '../../utils/utils';
import Geo from '../../utils/geo';
import StyleParser from '../style_parser';

export default TextSettings;
Expand Down Expand Up @@ -38,7 +37,7 @@ const TextSettings = {
align: 'center'
},

compute (feature, draw, context) {
compute (draw, context) {
const style = {};

draw.font = draw.font || this.defaults;
Expand Down

0 comments on commit 1663070

Please sign in to comment.