mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[PyCharm] PY-77972 jupyter add cell toolbar - removed the condition that the toolbar is showed only if the cursor is in the rightmost 85% of the above cell panel
(cherry picked from commit b9bdd85a97849c4664140e9b5e7f975d26b19536) GitOrigin-RevId: 1d58efdd87a266f65dfa7e6bfd58e61f9920b53f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a635619cd2
commit
432a14391d
@@ -194,8 +194,8 @@ class JupyterAboveCellToolbarService(private val scope: CoroutineScope) : Dispos
|
||||
private const val ADD_CELL_TOOLBAR_X_OFFSET_RATIO = 0.5
|
||||
private const val ADDITIONAL_TOOLBAR_X_OFFSET_RATIO = 0.95
|
||||
|
||||
private const val ADD_CELL_TOOLBAR_START_RATIO = 0.15
|
||||
private const val ADD_CELL_TOOLBAR_END_RATIO = 0.6
|
||||
private const val ADD_CELL_TOOLBAR_START_RATIO = 0.0 // discussible
|
||||
private const val ADD_CELL_TOOLBAR_END_RATIO = 0.99 // todo: change to 0.6 when additional toolbar is on
|
||||
private const val ADDITIONAL_TOOLBAR_START_RATIO = ADD_CELL_TOOLBAR_END_RATIO
|
||||
|
||||
private const val ACTION_GROUP_ID = "Jupyter.AboveCellPanelNew"
|
||||
|
||||
Reference in New Issue
Block a user