beansoft / react-native-console

🧩 an IDEA/WebStorm/Android Studio Plugin for One-Click run React Native commands in embed terminal
BSD 3-Clause "New" or "Revised" License
185 stars 28 forks source link

svg icon preview error: Image should be square #59

Closed beansoft closed 3 years ago

beansoft commented 3 years ago

java.lang.IllegalArgumentException: Image should be square. at lermitage.intellij.iconviewer.CustomIconLoader.scaleImage(CustomIconLoader.java:116) at lermitage.intellij.iconviewer.CustomIconLoader.loadFromVirtualFile(CustomIconLoader.java:46) at lermitage.intellij.iconviewer.ImageIconProvider.previewSvgImage(ImageIconProvider.java:167) at lermitage.intellij.iconviewer.ImageIconProvider.getIcon(ImageIconProvider.java:78) at com.github.beansoftapp.reatnative.idea.project.RNIconProvider.getIcon(RNIconProvider.java:45) at com.intellij.util.PsiIconUtil.getProvidersIcon(PsiIconUtil.java:17) at com.intellij.ide.FileIconPatcherImpl.getIcon(FileIconPatcherImpl.java:37) at com.intellij.util.IconUtil.getProvidersIcon(IconUtil.java:222) at com.intellij.util.IconUtil.computeFileIcon(IconUtil.java:155)

beansoft commented 3 years ago

After check the source and now fixed this issue, all icons displays should as clean as original retina icons. Will released in 2021.1.0