mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
IFT-556 Edit the position of debug GotIt tooltips in onboarding lessons
Since the debug toolbar is showing on the left, edit the GotIt tooltips positions to not intersect with tool window stripes. GitOrigin-RevId: a801c231e87728ae7bf16edfb8135660ef574266
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5f269284fd
commit
8d397b5b30
@@ -253,8 +253,8 @@ class PythonOnboardingTourLesson :
|
||||
|
||||
task {
|
||||
rehighlightPreviousUi = true
|
||||
gotItStep(Balloon.Position.above, width = 0,
|
||||
PythonLessonsBundle.message("python.onboarding.balloon.about.debug.panel",
|
||||
gotItStep(Balloon.Position.above, width = 0, cornerToPointerDistance = 140,
|
||||
text = PythonLessonsBundle.message("python.onboarding.balloon.about.debug.panel",
|
||||
strong(UIBundle.message("tool.window.name.debug")),
|
||||
strong(LessonsBundle.message("debug.workflow.lesson.name"))))
|
||||
restoreByUi(debuggerGotItTaskId)
|
||||
@@ -264,7 +264,7 @@ class PythonOnboardingTourLesson :
|
||||
task {
|
||||
val position = if (UIExperiment.isNewDebuggerUIEnabled()) Balloon.Position.above else Balloon.Position.atRight
|
||||
showBalloonOnHighlightingComponent(PythonLessonsBundle.message("python.onboarding.balloon.stop.debugging"),
|
||||
position) { list -> list.maxByOrNull { it.locationOnScreen.y } }
|
||||
position, cornerToPointerDistance = 35) { list -> list.maxByOrNull { it.locationOnScreen.y } }
|
||||
text(PythonLessonsBundle.message("python.onboarding.stop.debugging",
|
||||
icon(AllIcons.Actions.Suspend)))
|
||||
restoreIfModified(sample)
|
||||
|
||||
Reference in New Issue
Block a user