web: Rename config.showContextMenu to config.contextMenu
This commit is contained in:
parent
70326108b9
commit
5827801b03
|
@ -156,7 +156,7 @@ export interface BaseLoadOptions {
|
|||
*
|
||||
* @default true
|
||||
*/
|
||||
showContextMenu?: boolean;
|
||||
contextMenu?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -437,7 +437,7 @@ export class RufflePlayer extends HTMLElement {
|
|||
...options,
|
||||
};
|
||||
|
||||
this.hasContextMenu = config.showContextMenu !== false;
|
||||
this.hasContextMenu = config.contextMenu !== false;
|
||||
|
||||
// Pre-emptively set background color of container while Ruffle/SWF loads.
|
||||
if (config.backgroundColor) {
|
||||
|
|
Loading…
Reference in New Issue