Skip to content

Commit

Permalink
rerun icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinVaadin committed Oct 7, 2024
1 parent e338917 commit ef8369c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class DebugUsingHotSwapAgentAction : ExecutorAction() {
override fun update(event: AnActionEvent, isRunning: Boolean) {
if (isRunning) {
event.presentation.text = "Rerun using HotSwapAgent"
// TODO: https://github.com/vaadin/intellij-plugin/issues/101
event.presentation.icon = VaadinIcons.DEBUG_HOTSWAP
event.presentation.icon = VaadinIcons.RERUN_HOTSWAP
} else {
event.presentation.text = "Debug using HotSwapAgent"
event.presentation.icon = VaadinIcons.DEBUG_HOTSWAP
Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/com/vaadin/plugin/utils/VaadinIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class VaadinIcons {

val VAADIN = IconLoader.getIcon("$RESOURCE_PATH/vaadin.svg", VaadinIcons::class.java.classLoader)

val DEBUG_HOTSWAP = IconLoader.getIcon("$RESOURCE_PATH/swap.svg", VaadinIcons::class.java.classLoader)
val DEBUG_HOTSWAP = IconLoader.getIcon("$RESOURCE_PATH/debug.svg", VaadinIcons::class.java.classLoader)

val RERUN_HOTSWAP = IconLoader.getIcon("$RESOURCE_PATH/rerun.svg", VaadinIcons::class.java.classLoader)
}
}
7 changes: 7 additions & 0 deletions src/main/resources/vaadin/icons/debug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/main/resources/vaadin/icons/debug_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/main/resources/vaadin/icons/rerun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/main/resources/vaadin/icons/rerun_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions src/main/resources/vaadin/icons/swap.svg

This file was deleted.

14 changes: 0 additions & 14 deletions src/main/resources/vaadin/icons/swap_dark.svg

This file was deleted.

0 comments on commit ef8369c

Please sign in to comment.