mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
MultiScopeSeverityIcon height + width fixed
This commit is contained in:
+2
-4
@@ -31,8 +31,6 @@ import java.util.List;
|
||||
* @author Dmitry Batkovich
|
||||
*/
|
||||
public class MultiScopeSeverityIcon implements Icon {
|
||||
private final static int SIZE = 12;
|
||||
|
||||
private final LinkedHashMap<String, HighlightDisplayLevel> myScopeToAverageSeverityMap;
|
||||
private final String myDefaultScopeName;
|
||||
|
||||
@@ -87,11 +85,11 @@ public class MultiScopeSeverityIcon implements Icon {
|
||||
|
||||
@Override
|
||||
public int getIconWidth() {
|
||||
return SIZE;
|
||||
return HighlightDisplayLevel.getEmptyIconDim();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconHeight() {
|
||||
return SIZE;
|
||||
return HighlightDisplayLevel.getEmptyIconDim();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user