Quote Originally Posted by camel View Post
...
The result: no more corruption of the grid...only weird color changes that I am trying to track down ;-)
for the floor, and ceil to work ;-)
As you said no more corruption but yeah even I am cracking my head a lot on how to remove those weird color changes.
But I tell you I found one magic while experimenting. Try , its fun.

change the bounding rect of Resistor to
Qt Code:
  1. QRectF Resistor::boundingRect() const
  2. {
  3. qreal pw = 0.5;
  4. return QRectF(-47,-9,47*2,18).adjusted(-pw,-pw,pw,pw);
  5. }
To copy to clipboard, switch view to plain text mode 

Check for performance now!!