Named exports from ol/css module
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
import _ol_transform_ from '../../transform.js';
|
||||
import {inherits} from '../../index.js';
|
||||
import _ol_array_ from '../../array.js';
|
||||
import _ol_css_ from '../../css.js';
|
||||
import {CLASS_UNSELECTABLE} from '../../css.js';
|
||||
import {createCanvasContext2D} from '../../dom.js';
|
||||
import _ol_layer_Layer_ from '../../layer/Layer.js';
|
||||
import _ol_render_Event_ from '../../render/Event.js';
|
||||
@@ -43,7 +43,7 @@ var _ol_renderer_canvas_Map_ = function(container, map) {
|
||||
this.canvas_.style.width = '100%';
|
||||
this.canvas_.style.height = '100%';
|
||||
this.canvas_.style.display = 'block';
|
||||
this.canvas_.className = _ol_css_.CLASS_UNSELECTABLE;
|
||||
this.canvas_.className = CLASS_UNSELECTABLE;
|
||||
container.insertBefore(this.canvas_, container.childNodes[0] || null);
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import {inherits} from '../../index.js';
|
||||
import _ol_array_ from '../../array.js';
|
||||
import _ol_css_ from '../../css.js';
|
||||
import {CLASS_UNSELECTABLE} from '../../css.js';
|
||||
import {createCanvasContext2D} from '../../dom.js';
|
||||
import _ol_events_ from '../../events.js';
|
||||
import _ol_has_ from '../../has.js';
|
||||
@@ -47,7 +47,7 @@ var _ol_renderer_webgl_Map_ = function(container, map) {
|
||||
this.canvas_.style.width = '100%';
|
||||
this.canvas_.style.height = '100%';
|
||||
this.canvas_.style.display = 'block';
|
||||
this.canvas_.className = _ol_css_.CLASS_UNSELECTABLE;
|
||||
this.canvas_.className = CLASS_UNSELECTABLE;
|
||||
container.insertBefore(this.canvas_, container.childNodes[0] || null);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user