mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[followup] Correct JBUI-scaling of LayeredIcon
This commit is contained in:
@@ -97,10 +97,6 @@ public class LayeredIcon extends JBUI.AuxScalableJBIcon {
|
||||
@Override
|
||||
public LayeredIcon withJBUIPreScaled(boolean preScaled) {
|
||||
super.withJBUIPreScaled(preScaled);
|
||||
for (int i = 0; i < myIcons.length; i++) {
|
||||
myHShifts[i] = scaleVal(myHShifts[i], Scale.JBUI);
|
||||
myVShifts[i] = scaleVal(myVShifts[i], Scale.JBUI);
|
||||
}
|
||||
updateSize();
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user