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}
|
||||
*/
|
||||
export const TEXT_ALIGN = {
|
||||
left: 0,
|
||||
end: 0,
|
||||
center: 0.5,
|
||||
right: 1,
|
||||
start: 1,
|
||||
top: 0,
|
||||
middle: 0.5,
|
||||
hanging: 0.2,
|
||||
alphabetic: 0.8,
|
||||
ideographic: 0.8,
|
||||
bottom: 1
|
||||
'left': 0,
|
||||
'end': 0,
|
||||
'center': 0.5,
|
||||
'right': 1,
|
||||
'start': 1,
|
||||
'top': 0,
|
||||
'middle': 0.5,
|
||||
'hanging': 0.2,
|
||||
'alphabetic': 0.8,
|
||||
'ideographic': 0.8,
|
||||
'bottom': 1
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user