Skip to content

Commit

Permalink
[roborazzi-idea-plugin] Fix: Icons are not shown in the new UI (#421)
Browse files Browse the repository at this point in the history
* Fix icons are not shown in new UI

* Update version
  • Loading branch information
takahirom committed Jul 3, 2024
1 parent 3dfa76d commit 1862425
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion roborazzi-idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "io.github.takahirom.roborazzi"
version = "1.2.0"
version = "1.3.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import com.intellij.openapi.fileEditor.FileEditorManagerListener
import com.intellij.openapi.options.ShowSettingsUtil
import com.intellij.openapi.project.Project
import com.intellij.openapi.roots.ProjectRootManager
import com.intellij.openapi.util.IconLoader
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.openapi.wm.ToolWindow
import com.intellij.openapi.wm.ToolWindowFactory
Expand Down Expand Up @@ -57,6 +58,7 @@ import java.io.File
import javax.imageio.ImageIO
import javax.swing.Box
import javax.swing.DefaultListModel
import javax.swing.Icon
import javax.swing.ImageIcon
import javax.swing.JLabel
import javax.swing.JList
Expand Down
6 changes: 2 additions & 4 deletions roborazzi-idea-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
<toolWindow id="RoborazziPreview"
anchor="right"
factoryClass="com.github.takahirom.roborazzi.idea.preview.RoborazziPreviewToolWindowFactory"
icon="/icons/previewIcon.svg"
canCloseContents="true"
stripeTitle="Roborazzi Preview"
type="DOCKED">
icon="/icons/icon.svg"
>
</toolWindow>
<applicationService
serviceImplementation="com.github.takahirom.roborazzi.idea.settings.AppSettingsState"/>
Expand Down
6 changes: 6 additions & 0 deletions roborazzi-idea-plugin/src/main/resources/icons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions roborazzi-idea-plugin/src/main/resources/icons/icon_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1862425

Please sign in to comment.