mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Get rid of noMarquee setting
This commit is contained in:
parent
e441706809
commit
3b4ced0caf
4 changed files with 1 additions and 7 deletions
|
|
@ -105,7 +105,6 @@ There are some "feature flags" which you can manipulate by passing a specially c
|
|||
|
||||
* `skinUrl` (string) Url of the default skin to use. Note, this file must be served with the correct Allows Origin header.
|
||||
* `audioUrl` (string) Url of the default audio file to use. Note, this file must be served with the correct Allows Origin header.
|
||||
* `noMarquee` (boolean) Enable/disable to scrolling of the song title in the main window. It can be nice to turn this off when debugging Redux actions, since the scrolling generates a lot of noise.
|
||||
* `hideAbout` (boolean) Selectively hide the byline and GitHub link at the bottom of the page. Useful for taking screenshots.
|
||||
* `initialState` (object) Override the [initial Redux state](js/reducers.js). Values from this object will be recursively merged into the actual default state.
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,6 @@ const validateZip = u =>
|
|||
const config = {
|
||||
playlist: true,
|
||||
hideAbout: true,
|
||||
noMarquee: true,
|
||||
audioUrl: null,
|
||||
initialState: {
|
||||
equalizer: {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import { getTimeStr } from "../../utils";
|
|||
|
||||
import { STEP_MARQUEE } from "../../actionTypes";
|
||||
import CharacterString from "../CharacterString";
|
||||
import { noMarquee } from "../../config";
|
||||
import { getMediaText } from "../../selectors";
|
||||
|
||||
const CHAR_WIDTH = 5;
|
||||
|
|
@ -85,9 +84,7 @@ class Marquee extends React.Component {
|
|||
step();
|
||||
}, 220);
|
||||
};
|
||||
if (!noMarquee) {
|
||||
step();
|
||||
}
|
||||
step();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ if (hash) {
|
|||
// Turn on the incomplete playlist window
|
||||
export const skinUrl = config.skinUrl === undefined ? skin : config.skinUrl;
|
||||
export const audioUrl = config.audioUrl === undefined ? audio : config.audioUrl;
|
||||
export const noMarquee = config.noMarquee || false;
|
||||
export const hideAbout = config.hideAbout || false;
|
||||
export const elementSource = config.elementSource || true;
|
||||
export const initialState = config.initialState || undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue