No trackpad mode for constrained resolutions

This commit is contained in:
Andreas Hocevar
2020-02-16 10:05:32 +01:00
parent 5150378983
commit d93073f8d0
2 changed files with 10 additions and 5 deletions

View File

@@ -793,6 +793,13 @@ class View extends BaseObject {
return this.constraints_;
}
/**
* @return {boolean} Resolution constraint is set
*/
getConstrainResolution() {
return this.options_.constrainResolution;
}
/**
* @param {Array<number>=} opt_hints Destination array.
* @return {Array<number>} Hint.