Skip to content

Commit

Permalink
BUG: Make fullscreen button work
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax committed Nov 19, 2023
1 parent c78a60d commit a796f03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions itkwidgets/_initialization_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def init_params_dict(itk_viewer):
}


def build_config(ui=None):
def build_config(ui):
if ui == "pydata-sphinx":
config = {
"uiMachineOptions": {
Expand All @@ -55,11 +55,11 @@ def build_config(ui=None):
"export": "default",
}
}
elif ui != "reference":
config = ui
else:
config = {}

config['maxConcurrency'] = os.cpu_count() * 2
config['permissions'] = ["full-screen"]

return config

Expand Down

0 comments on commit a796f03

Please sign in to comment.