Get rid of noMarquee setting

This commit is contained in:
Jordan Eldredge 2018-01-01 21:24:19 -08:00
parent e441706809
commit 3b4ced0caf
4 changed files with 1 additions and 7 deletions

View file

@ -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.

View file

@ -70,7 +70,6 @@ const validateZip = u =>
const config = {
playlist: true,
hideAbout: true,
noMarquee: true,
audioUrl: null,
initialState: {
equalizer: {

View file

@ -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() {

View file

@ -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;