From 4690812402222b77c26ac7113df600e225136f44 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 11:19:32 +0930 Subject: [PATCH] Add "tiny" preset for LoadingIndicator This is used in various places but had not been added since presets were removed from Spin.js in a recent version upgrade. --- framework/core/js/src/common/components/LoadingIndicator.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/core/js/src/common/components/LoadingIndicator.js b/framework/core/js/src/common/components/LoadingIndicator.js index fc036baae..e77228510 100644 --- a/framework/core/js/src/common/components/LoadingIndicator.js +++ b/framework/core/js/src/common/components/LoadingIndicator.js @@ -29,6 +29,10 @@ export default class LoadingIndicator extends Component { Object.assign(options, { lines: 10, length: 8, width: 4, radius: 8 }); break; + case 'tiny': + Object.assign(options, { lines: 8, length: 2, width: 2, radius: 3 }); + break; + default: Object.assign(options, { lines: 8, length: 4, width: 3, radius: 5 }); }