Fix this._horizontalTextPositionBelow being assigned incorrectly (#2144)

This commit is contained in:
toasted-nutbread 2022-05-18 19:12:24 -04:00 committed by GitHub
parent bd53f2bbfb
commit 18beb241a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -870,7 +870,7 @@ class Popup extends EventDispatcher {
this._horizontalOffset2 = general.popupHorizontalOffset2; this._horizontalOffset2 = general.popupHorizontalOffset2;
this._verticalOffset2 = general.popupVerticalOffset2; this._verticalOffset2 = general.popupVerticalOffset2;
this._verticalTextPosition = general.popupVerticalTextPosition; this._verticalTextPosition = general.popupVerticalTextPosition;
this._horizontalTextPositionBelow = (this._verticalTextPosition === 'below'); this._horizontalTextPositionBelow = (general.popupHorizontalTextPosition === 'below');
this._displayMode = general.popupDisplayMode; this._displayMode = general.popupDisplayMode;
this._displayModeIsFullWidth = (this._displayMode === 'full-width'); this._displayModeIsFullWidth = (this._displayMode === 'full-width');
this._scaleRelativeToVisualViewport = general.popupScaleRelativeToVisualViewport; this._scaleRelativeToVisualViewport = general.popupScaleRelativeToVisualViewport;