Sketcher: fix performance issue with drawing svg icons
This commit is contained in:
committed by
Abdullah Tahiri
parent
db16029c6a
commit
011e19060a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user