mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Only hide the about menu in screenshot mode
This commit is contained in:
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 |
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue