mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-323344 Do not show onboarding to the New UI in DFM
Use the proper method that reflects the Main toolbar state. GitOrigin-RevId: fa25a3a93b7e9f9ec967aa32e60541bd3de7f47d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a8b0c08f6
commit
c62c385150
+2
-2
@@ -2,7 +2,7 @@
|
||||
package com.intellij.platform.ide.newUiOnboarding
|
||||
|
||||
import com.intellij.ide.DataManager
|
||||
import com.intellij.ide.actions.DistractionFreeModeController
|
||||
import com.intellij.ide.actions.ToggleDistractionFreeModeAction
|
||||
import com.intellij.openapi.actionSystem.ActionPlaces
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.actionSystem.Toggleable
|
||||
@@ -42,7 +42,7 @@ object NewUiOnboardingUtil {
|
||||
|
||||
val isOnboardingEnabled: Boolean
|
||||
get() = Registry.`is`("ide.experimental.ui.onboarding")
|
||||
&& !DistractionFreeModeController.isDistractionFreeModeEnabled()
|
||||
&& !ToggleDistractionFreeModeAction.shouldMinimizeCustomHeader()
|
||||
&& NewUiOnboardingBean.isPresent
|
||||
|
||||
fun getHelpLink(topic: String): String {
|
||||
|
||||
Reference in New Issue
Block a user