Skip to content

Commit

Permalink
fix: text actions window background in Material You theme
Browse files Browse the repository at this point in the history
  • Loading branch information
teixeira0x committed Dec 12, 2024
1 parent 0c6d842 commit 4708b3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ open class EditorActionsMenu(val editor: IDEEditor) :
val drawable = GradientDrawable()
drawable.shape = GradientDrawable.RECTANGLE
drawable.cornerRadius = SizeUtils.dp2px(28f).toFloat() // Recommeneded size is 28dp
drawable.color = ColorStateList.valueOf(editor.context.resolveAttr(R.attr.colorSurface))
drawable.color = editor.context.resolveAttr(R.attr.colorSurface)
drawable.setStroke(SizeUtils.dp2px(1f), editor.context.resolveAttr(R.attr.colorOutline))
list.background = drawable
}
Expand Down

0 comments on commit 4708b3a

Please sign in to comment.