Sketcher: fix performance issue with drawing svg icons

This commit is contained in:
grggnzlz
2021-02-28 22:26:00 -06:00
committed by Abdullah Tahiri
parent db16029c6a
commit 011e19060a

View File

@@ -5879,8 +5879,11 @@ Restart:
}
this->drawConstraintIcons();
this->updateColor();
// Avoids unneeded calls to pixmapFromSvg
if(Mode==STATUS_NONE) {
this->drawConstraintIcons();
this->updateColor();
}
// delete the cloned objects
if (temp) {