diff --git a/core/indigo-core/molecule/src/base_molecule.cpp b/core/indigo-core/molecule/src/base_molecule.cpp index c5a4a3c7e2..0551198ded 100644 --- a/core/indigo-core/molecule/src/base_molecule.cpp +++ b/core/indigo-core/molecule/src/base_molecule.cpp @@ -4538,7 +4538,9 @@ void BaseMolecule::getAtomBoundingBox(int atom_idx, float font_size, LABEL_MODE if (font_size <= EPSILON) return; - float symbol_size = font_size * 0.7f; + float constexpr WIDTH_FACTOR = 0.7f; // width of font symbols + + float symbol_size = font_size * WIDTH_FACTOR; if (isPseudoAtom(atom_idx) || isTemplateAtom(atom_idx)) {