mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[RDCT] Add support for TextIcon from IconUtil
GitOrigin-RevId: 29c9f2fd49cf23db640d5a6fd6e029ae53a23f29
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8cdd95aa6e
commit
c7da24cd84
@@ -778,7 +778,7 @@ private fun filterFileIconFlags(file: VirtualFile, @IconFlags flags: Int): Int {
|
||||
return flags and flagIgnoreMask.inv()
|
||||
}
|
||||
|
||||
private class TextIcon(private val text: String, component: Component, private val fontSize: Float) : JBScalableIcon() {
|
||||
class TextIcon(val text: String, component: Component, val fontSize: Float) : JBScalableIcon() {
|
||||
private var font: Font? = null
|
||||
private var metrics: FontMetrics? = null
|
||||
private val componentRef = WeakReference(component)
|
||||
|
||||
Reference in New Issue
Block a user