Skip to content

API call to open the GM screen error. #157

@thatlonelybugbear

Description

@thatlonelybugbear
  • Foundry Core Version: 10.291
  • System & Version: dnd5e, 2.1.5, GM Screen v4.0.4
  • OS & Browser: electron app and edge browser
  • Hosting: Self Hosted

Using in console

game.modules.get('gm-screen')?.api?.toggleGmScreenVisibility(true)

returns

GmScreenApplication.ts:672 Uncaught TypeError: undefined. this.bringToTop is not a function
[Detected 1 package: gm-screen]
    at Object.toggleGmScreenVisibility (GmScreenApplication.ts:672:12)
    at <anonymous>:1:37

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions