Use an abstract base class instead of IVectorContext
By having the abstract methods in the base class, subclasses can simply override the methods they actually provide. Additionally, this change fixes a regression in webgl canvas immediate.
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ oli.render.Event.prototype.glContext;
|
||||
|
||||
|
||||
/**
|
||||
* @type {ol.render.IVectorContext|undefined}
|
||||
* @type {ol.render.VectorContext|undefined}
|
||||
*/
|
||||
oli.render.Event.prototype.vectorContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user