web: Rename config.showContextMenu to config.contextMenu

This commit is contained in:
relrelb 2021-01-23 18:07:48 +02:00 committed by Mike Welsh
parent 70326108b9
commit 5827801b03
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export interface BaseLoadOptions {
* *
* @default true * @default true
*/ */
showContextMenu?: boolean; contextMenu?: boolean;
} }
/** /**

View File

@ -437,7 +437,7 @@ export class RufflePlayer extends HTMLElement {
...options, ...options,
}; };
this.hasContextMenu = config.showContextMenu !== false; this.hasContextMenu = config.contextMenu !== false;
// Pre-emptively set background color of container while Ruffle/SWF loads. // Pre-emptively set background color of container while Ruffle/SWF loads.
if (config.backgroundColor) { if (config.backgroundColor) {