mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[toolwindow] IJPL-59194 Disable tool window reorder in RemDev
In RemDev mode tool windows are synced with between frontend and backend. And now the dragged tab is disposed on the backend, which breaks it on the frontend. Fixing it requires improvements in the tool window contents synchronization, which are not obvious at the moment. GitOrigin-RevId: ba8ad95ac256f8b6be03f015147d1eaf604f8e8f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f50c0da7f8
commit
84d4d82d6e
@@ -2,6 +2,7 @@
|
||||
package com.intellij.toolWindow
|
||||
|
||||
import com.intellij.ide.DataManager
|
||||
import com.intellij.idea.AppModeAssertions
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.application.WriteIntentReadAction
|
||||
import com.intellij.openapi.application.invokeLater
|
||||
@@ -457,7 +458,7 @@ internal class ToolWindowInnerDragHelper(parent: Disposable, val pane: JComponen
|
||||
}
|
||||
|
||||
private fun canReorderTabs(): Boolean {
|
||||
return Registry.`is`("ide.allow.tool.window.tabs.reorder", false)
|
||||
return AppModeAssertions.isMonolith() && Registry.`is`("ide.allow.tool.window.tabs.reorder", false)
|
||||
}
|
||||
|
||||
private sealed interface DropLocation {
|
||||
|
||||
Reference in New Issue
Block a user