mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[IFT] Fix like icons size in onboarding feedback dialog
Icons are already 20x20, so scale is not required. IJ-CR-94389 GitOrigin-RevId: 3a4b5b94d85e94f9e5d9da12b408871fb2029470
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c5fa1013fa
commit
b23de4bce2
@@ -32,7 +32,6 @@ import com.intellij.ui.components.JBScrollPane
|
||||
import com.intellij.ui.components.JBTextArea
|
||||
import com.intellij.ui.components.JBTextField
|
||||
import com.intellij.ui.components.panels.NonOpaquePanel
|
||||
import com.intellij.util.IconUtil
|
||||
import com.intellij.util.ui.*
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.json.*
|
||||
@@ -353,9 +352,7 @@ private fun installSubPanelLogic(feedbackOption: FeedbackOption, feedbackSubPane
|
||||
}
|
||||
}
|
||||
|
||||
private fun getLikenessIcon(icon: Icon): Icon {
|
||||
return IndentedIcon(IconUtil.scale(icon, null, 0.25f), JBUI.insets(6))
|
||||
}
|
||||
private fun getLikenessIcon(icon: Icon): Icon = IndentedIcon(icon, JBUI.insets(6))
|
||||
|
||||
private class FeedbackOption(@NlsContexts.Label text: String?, icon: Icon?) : JButton() {
|
||||
var isChosen = false
|
||||
|
||||
Reference in New Issue
Block a user