Skip to content

Commit ee80744

Browse files
committed
refactor(devti): comment out unused toolbar icon reservation
- Remove the line that disables the auto-popup icon reservation for the toolbar - This change simplifies the code and may improve the UI appearance
1 parent 0353f42 commit ee80744

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/sketch/ui/preview/FileEditorPreviewSketch.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ abstract class FileEditorPreviewSketch(
6060
val rightToolbar = ActionManager.getInstance()
6161
.createActionToolbar(ActionPlaces.TEXT_EDITOR_WITH_PREVIEW, createViewActionGroup(), true)
6262
rightToolbar.targetComponent = target
63-
rightToolbar.isReservePlaceAutoPopupIcon = false
64-
63+
// rightToolbar.isReservePlaceAutoPopupIcon = false
6564
return rightToolbar
6665
}
6766

0 commit comments

Comments
 (0)