Quote keys of TEXT_ALIGN to avoid minifcation
This commit is contained in:
@@ -15,17 +15,17 @@ import TextPlacement from '../../style/TextPlacement.js';
|
|||||||
* @enum {number}
|
* @enum {number}
|
||||||
*/
|
*/
|
||||||
export const TEXT_ALIGN = {
|
export const TEXT_ALIGN = {
|
||||||
left: 0,
|
'left': 0,
|
||||||
end: 0,
|
'end': 0,
|
||||||
center: 0.5,
|
'center': 0.5,
|
||||||
right: 1,
|
'right': 1,
|
||||||
start: 1,
|
'start': 1,
|
||||||
top: 0,
|
'top': 0,
|
||||||
middle: 0.5,
|
'middle': 0.5,
|
||||||
hanging: 0.2,
|
'hanging': 0.2,
|
||||||
alphabetic: 0.8,
|
'alphabetic': 0.8,
|
||||||
ideographic: 0.8,
|
'ideographic': 0.8,
|
||||||
bottom: 1
|
'bottom': 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user