[PyCharm] Jupyter (fix): Fixed size if between-cell-toolbar in case of big network delays. #PY-81749 Ready For Merge

(cherry picked from commit 0b480961bf3d20804601350bf8e7610bedeb9c0b)

IJ-CR-170271

GitOrigin-RevId: 329ad83f0db66f5c324a27f2ca14971ac14d87da
This commit is contained in:
Nikita Pavlenko
2025-06-17 14:56:53 +02:00
committed by intellij-monorepo-bot
parent eabc5f6f94
commit 849d033d57

View File

@@ -13,7 +13,8 @@ class JupyterAddNewCellToolbar(
actionGroup: ActionGroup,
toolbarTargetComponent: JComponent,
place: String = ActionPlaces.EDITOR_INLAY,
) : JupyterAbstractAboveCellToolbar(actionGroup, toolbarTargetComponent, place, actionsUpdatedCallback = null) {
actionsUpdatedCallback: (() -> Unit)? = null,
) : JupyterAbstractAboveCellToolbar(actionGroup, toolbarTargetComponent, place, actionsUpdatedCallback) {
override fun getArcSize(): Int = JBUI.scale(16)
override fun getHorizontalPadding(): Int = JBUI.scale(3)