caption set to false does not remove file name from bottom right corner
Closed this issue · 2 comments
bma-diy commented
{
module: "MMM-Wallpaper",
position: "fullscreen_below",
config: {
source: ["local:/home/pi/Pictures"],
crossfade: false,
//filter: "grayscale(0.5) brightness(0.4)",
filter: "grayscale(0.25) brightness(0.5)",
size: "cover",
caption: "false",
slideInterval: 3 * 60 * 1000
//orientation: "vertical",
//maximumEntries: 10,
}
kolbyjack commented
javascript is really weird, "false"
is a string that is "truthy", while false
is a boolean value that is false. Remove the quotes and the caption should disappear.
bma-diy commented
Thank you!! I knew I was missing something basic.
…On Thu, Sep 14, 2023 at 11:07 AM Jon Kolb ***@***.***> wrote:
javascript is really weird, "false" is a string that is "truthy", while
false is a boolean value that is false. Remove the quotes and the caption
should disappear.
—
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIOE5EBSFGAGV322XYHLLTX2MTSRANCNFSM6AAAAAA4YLUXDY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>