ITADN

add toggleAdditionalOptions action

#209Pull Requestmurat-encord 创建于 2023-09-13已合并
M
murat-encordcommented
#### Changes proposed in this pull request: + Adds an optional boolean prop `closeAdditionalControlsOnClickBody` to disable the default behaviour of closing the additionalControls when clicking anywhere on the body. + Introduces a new window context action `toggleAdditionalControlsOpen` to toggle additional controls. `setAdditionalControlsOpen` action required to explicitly pass a boolean and was hard to use as a toggle because the open/close boolean state is internal to the window and not exposed
合并状态:已合并 合并于 2023-09-18 关闭于 2023-09-18 1 条评论