diff options
author | 2022-06-18 11:47:47 +0530 | |
---|---|---|
committer | 2022-06-18 22:16:09 +0530 | |
commit | 8c3323bc6c1743f04dee7598e186e07cd793ab7f (patch) | |
tree | 16b7421bb46cece0692b22e74ed228ad153bea48 /src/app.js | |
parent | 6.0.0-nightly.66 [skip ci] (diff) | |
download | ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.tar.gz ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.tar.zst ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.zip |
Add ability to set the progressbar color from the Settings screen
Diffstat (limited to 'src/app.js')
-rw-r--r-- | src/app.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/app.js b/src/app.js index aa140832c..54fba0c71 100644 --- a/src/app.js +++ b/src/app.js | |||
@@ -4,7 +4,6 @@ import { render } from 'react-dom'; | |||
4 | import { Provider } from 'mobx-react'; | 4 | import { Provider } from 'mobx-react'; |
5 | import { syncHistoryWithStore, RouterStore } from 'mobx-react-router'; | 5 | import { syncHistoryWithStore, RouterStore } from 'mobx-react-router'; |
6 | import { hashHistory } from 'react-router'; | 6 | import { hashHistory } from 'react-router'; |
7 | import TopBarProgress from 'react-topbar-progress-indicator'; | ||
8 | 7 | ||
9 | import ServerApi from './api/server/ServerApi'; | 8 | import ServerApi from './api/server/ServerApi'; |
10 | import LocalApi from './api/server/LocalApi'; | 9 | import LocalApi from './api/server/LocalApi'; |
@@ -64,13 +63,3 @@ window.addEventListener('dragover', event => event.preventDefault()); | |||
64 | window.addEventListener('drop', event => event.preventDefault()); | 63 | window.addEventListener('drop', event => event.preventDefault()); |
65 | window.addEventListener('dragover', event => event.stopPropagation()); | 64 | window.addEventListener('dragover', event => event.stopPropagation()); |
66 | window.addEventListener('drop', event => event.stopPropagation()); | 65 | window.addEventListener('drop', event => event.stopPropagation()); |
67 | |||
68 | TopBarProgress.config({ | ||
69 | barThickness: 4, | ||
70 | barColors: { | ||
71 | '0': '#f00', | ||
72 | '0.5': '#0f0', | ||
73 | '1.0': '#00f', | ||
74 | }, | ||
75 | shadowBlur: 5 | ||
76 | }); | ||