Icon (Icon icon, Editor editor) { if (Registry.is("editor.scale.gutter.icons") && editor instanceof EditorImpl && icon instanceof ScalableIcon) { float scale = ((EditorImpl)editor).getScale(); if (Math.abs(1f - scale) > 0.1f) { return ((ScalableIcon)icon).scale(scale); } } return icon; }