Skip to content

Commit d74f40e

Browse files
committed
fix(sketch): update runButton icon setting method
Updates button icon setting from `presentation.icon` to
1 parent ccabdbb commit d74f40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/cc/unitmesh/devti/sketch/ui/code/CodeHighlightSketch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ open class CodeHighlightSketch(
221221
private fun updateRunButtonIcon() {
222222
runButton?.let { button ->
223223
val icon = if (isComplete) AutoDevIcons.RUN else AutoDevIcons.LOADING
224-
button.presentation.icon = icon
224+
button.icon = icon
225225
button.repaint()
226226
}
227227
}

0 commit comments

Comments
 (0)