Skip to content

Commit 8bf149d

Browse files
committed
Use JetBrains default font for inline chat popup
1 parent 96ab8df commit 8bf149d

File tree

1 file changed

+0
-2
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/inline

1 file changed

+0
-2
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/inline/InlineChatPopupPanel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,10 @@ class InlineChatPopupPanel(private val parentDisposable: Disposable) : JPanel()
9595
override fun getPreferredSize(): Dimension = Dimension(popupWidth, popupHeight)
9696

9797
private fun createTextField(): JTextField = JTextField().apply {
98-
val editorColorsScheme = EditorColorsManager.getInstance().globalScheme
9998
preferredSize = Dimension(popupInputWidth, popupInputHeight)
10099
border = IdeBorderFactory.createRoundedBorder().apply {
101100
setColor(POPUP_BUTTON_BORDER)
102101
}
103-
font = Font(editorColorsScheme.editorFontName, Font.PLAIN, editorColorsScheme.editorFontSize)
104102
}
105103

106104
private fun createButton(text: String): JButton = JButton(text).apply {

0 commit comments

Comments
 (0)