1
0
mirror of https://github.com/chylex/IntelliJ-Colored-Icons.git synced 2024-11-25 13:42:49 +01:00

Compare commits

..

No commits in common. "435dbd2d8421dda173f7bc503ba05f247737748b" and "7f2b2e419d04033e9fad159a672bb283daee3ec6" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

@ -6,7 +6,7 @@ plugins {
} }
group = "com.chylex.intellij.coloredicons" group = "com.chylex.intellij.coloredicons"
version = "1.5.1" version = "1.5"
repositories { repositories {
mavenCentral() mavenCentral()

View File

@ -9,10 +9,6 @@
</description> </description>
<change-notes><![CDATA[ <change-notes><![CDATA[
<b>Version 1.5.1</b>
<ul>
<li>Fixed a random exception while loading the plugin</li>
</ul>
<b>Version 1.5</b> <b>Version 1.5</b>
<ul> <ul>
<li>Fixed tool window icons for 2023.3</li> <li>Fixed tool window icons for 2023.3</li>

View File

@ -2,7 +2,7 @@ package com.chylex.intellij.coloredicons;
import com.chylex.intellij.coloredicons.sets.OldUI; import com.chylex.intellij.coloredicons.sets.OldUI;
import com.intellij.openapi.util.IconLoader; import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.util.IconPathPatcher; import com.intellij.openapi.util.IconPathPatcher;
import com.intellij.ui.NewUI; import com.intellij.ui.NewUiValue;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import java.util.Collections; import java.util.Collections;
@ -13,7 +13,7 @@ public class IconPatcher extends IconPathPatcher {
private final Map<String, String> iconPaths; private final Map<String, String> iconPaths;
public IconPatcher() { public IconPatcher() {
iconPaths = NewUI.isEnabled() ? Collections.emptyMap() : OldUI.getIconPaths(); iconPaths = NewUiValue.isEnabled() ? Collections.emptyMap() : OldUI.getIconPaths();
IconLoader.installPathPatcher(this); IconLoader.installPathPatcher(this);
} }