Rename BrowserFeature to browserfeature
This commit is contained in:
@@ -8,7 +8,7 @@ goog.require('goog.array');
|
||||
goog.require('goog.asserts');
|
||||
goog.require('goog.object');
|
||||
goog.require('goog.vec.Mat4');
|
||||
goog.require('ol.BrowserFeature');
|
||||
goog.require('ol.browserfeature');
|
||||
goog.require('ol.color');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
@@ -764,7 +764,7 @@ ol.render.canvas.Immediate.prototype.setContextStrokeState_ =
|
||||
var contextStrokeState = this.contextStrokeState_;
|
||||
if (goog.isNull(contextStrokeState)) {
|
||||
context.lineCap = strokeState.lineCap;
|
||||
if (ol.BrowserFeature.HAS_CANVAS_LINE_DASH) {
|
||||
if (ol.browserfeature.HAS_CANVAS_LINE_DASH) {
|
||||
context.setLineDash(strokeState.lineDash);
|
||||
}
|
||||
context.lineJoin = strokeState.lineJoin;
|
||||
@@ -783,7 +783,7 @@ ol.render.canvas.Immediate.prototype.setContextStrokeState_ =
|
||||
if (contextStrokeState.lineCap != strokeState.lineCap) {
|
||||
contextStrokeState.lineCap = context.lineCap = strokeState.lineCap;
|
||||
}
|
||||
if (ol.BrowserFeature.HAS_CANVAS_LINE_DASH) {
|
||||
if (ol.browserfeature.HAS_CANVAS_LINE_DASH) {
|
||||
if (!goog.array.equals(
|
||||
contextStrokeState.lineDash, strokeState.lineDash)) {
|
||||
context.setLineDash(contextStrokeState.lineDash = strokeState.lineDash);
|
||||
|
||||
Reference in New Issue
Block a user