updating comment for clarity
This commit is contained in:
parent
46846e7f2d
commit
cb2e701e08
|
|
@ -264,7 +264,7 @@ export default class Display {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
|
|
||||||
//getting parent node size down to the subpixel
|
//getting parent node size with sub-pixel precision
|
||||||
let parentNodeSize = this._target.parentNode.getBoundingClientRect();
|
let parentNodeSize = this._target.parentNode.getBoundingClientRect();
|
||||||
//recalculate primary display container size
|
//recalculate primary display container size
|
||||||
this._screens[i].containerHeight = Math.floor(parentNodeSize.height / 2) * 2;
|
this._screens[i].containerHeight = Math.floor(parentNodeSize.height / 2) * 2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue