Hit detect everything with a pixel ratio of 1
This commit is contained in:
@@ -352,11 +352,10 @@ class Icon extends ImageStyle {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @return {HTMLImageElement|HTMLCanvasElement} Image element.
|
||||
*/
|
||||
getHitDetectionImage(pixelRatio) {
|
||||
return this.iconImage_.getHitDetectionImage(pixelRatio);
|
||||
getHitDetectionImage() {
|
||||
return this.iconImage_.getHitDetectionImage();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user