Only hide the about menu in screenshot mode

This commit is contained in:
Jordan Eldredge 2018-07-02 19:16:41 -07:00
parent 4623cec225
commit 836b500c2a
3 changed files with 1 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Before After
Before After

View file

@ -132,7 +132,6 @@ export const initialTracks = config.initialTracks || [
}
];
export const hideAbout = config.hideAbout || false;
export const disableMarquee = config.disableMarquee || false;
export const initialState = config.initialState || undefined;
export const milkdrop = config.milkdrop || false;

View file

@ -24,7 +24,6 @@ import {
} from "./actionTypes";
import {
hideAbout,
skinUrl as configSkinUrl,
initialTracks,
initialState,
@ -114,7 +113,7 @@ function genAudioFileUrlsFromDropbox() {
}
Raven.context(() => {
if (hideAbout) {
if (screenshot) {
document.getElementsByClassName("about")[0].style.visibility = "hidden";
}
if (!Webamp.browserIsSupported()) {