mirror of
https://github.com/apache/superset.git
synced 2024-09-18 19:49:37 -04:00
fix: fix word cloud randomness (#19977)
This commit is contained in:
parent
a7e3d6b964
commit
2e31021ecd
@ -28,10 +28,11 @@ import {
|
|||||||
import {
|
import {
|
||||||
SupersetThemeProps,
|
SupersetThemeProps,
|
||||||
withTheme,
|
withTheme,
|
||||||
seedRandom,
|
seed,
|
||||||
CategoricalColorScale,
|
CategoricalColorScale,
|
||||||
} from '@superset-ui/core';
|
} from '@superset-ui/core';
|
||||||
|
|
||||||
|
const seedRandom = seed('superset-ui');
|
||||||
export const ROTATION = {
|
export const ROTATION = {
|
||||||
flat: () => 0,
|
flat: () => 0,
|
||||||
// this calculates a random rotation between -90 and 90 degrees.
|
// this calculates a random rotation between -90 and 90 degrees.
|
||||||
|
Loading…
Reference in New Issue
Block a user