Fix wasm build
This commit is contained in:
parent
ca1ac162ff
commit
64dae94340
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ struct ViewButton : MenuButton {
|
||||||
#ifdef DISTRHO_OS_WASM
|
#ifdef DISTRHO_OS_WASM
|
||||||
const bool fullscreen = APP->window->isFullScreen();
|
const bool fullscreen = APP->window->isFullScreen();
|
||||||
std::string rightText = "F11";
|
std::string rightText = "F11";
|
||||||
if (rightText)
|
if (fullscreen)
|
||||||
rightText += " " CHECKMARK_STRING;
|
rightText += " " CHECKMARK_STRING;
|
||||||
menu->addChild(createMenuItem("Fullscreen", rightText, [=]() {
|
menu->addChild(createMenuItem("Fullscreen", rightText, [=]() {
|
||||||
APP->window->setFullScreen(!fullscreen);
|
APP->window->setFullScreen(!fullscreen);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue