mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
Merge pull request #942 from RobertOrthofer/fix-compass-button-mobile
Fix `CompassButton` for mobile devices
This commit is contained in:
commit
88820262cf
@ -102,8 +102,8 @@ export class CompassButton extends Control {
|
||||
});
|
||||
|
||||
btn.appendTo(this.renderer!.div!);
|
||||
|
||||
btn.events.on("click", this._onClick, this);
|
||||
btn.events.on("touchstart", this._onClick, this);
|
||||
|
||||
this._svg = btn.select("svg");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user