Swap icon path parameters: move expUI path to the first place

GitOrigin-RevId: 74cf09fb454c89b676be259cdd7437a81ac4c067
This commit is contained in:
Alexander Lobas
2024-07-25 15:11:45 +02:00
committed by intellij-monorepo-bot
parent d1b87b08b0
commit 932f2d438e
31 changed files with 892 additions and 905 deletions

View File

@@ -14,9 +14,9 @@ public final class SpellcheckerIcons {
private static @NotNull Icon load(@NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
private static @NotNull Icon load(@NotNull String path, @NotNull String expUIPath, int cacheKey, int flags) {
private static @NotNull Icon load(@NotNull String expUIPath, @NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, expUIPath, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
/** 16x16 */ public static final @NotNull Icon Dictionary = load("icons/dictionary.svg", "icons/newui/dictionary.svg", -2094657776, 2);
/** 16x16 */ public static final @NotNull Icon Dictionary = load("icons/newui/dictionary.svg", "icons/dictionary.svg", -2094657776, 2);
/** 16x16 */ public static final @NotNull Icon Spellcheck = load("icons/spellcheck.svg", 1919442669, 2);
}