Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[roborazzi-idea-plugin] Fix: Icons are not shown in the new UI #421

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading