mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Add ability to hide context menu button
This commit is contained in:
parent
eea0ec3dc3
commit
0ee1a70100
1 changed files with 1 additions and 0 deletions
|
@ -1922,6 +1922,7 @@ class EmulatorJS {
|
|||
pauseButton.style.display = "none";
|
||||
playButton.style.display = "none";
|
||||
}
|
||||
if (this.config.buttonOpts.contextMenuButton === false) contextMenuButton.style.display = "none"
|
||||
if (this.config.buttonOpts.restart === false) restartButton.style.display = "none"
|
||||
if (this.config.buttonOpts.settings === false) settingButton[0].style.display = "none"
|
||||
if (this.config.buttonOpts.fullscreen === false) {
|
||||
|
|
Loading…
Reference in a new issue