mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-13 02:32:09 +10:00
Improved rendering performance and reduced lagging with complex projects while dragging components around
This commit is contained in:
@@ -1740,10 +1740,13 @@ public class Presenter implements IPlugInPort {
|
||||
}
|
||||
}
|
||||
|
||||
// Remove from area map.
|
||||
drawingManager.clearComponentAreaMap();
|
||||
// only the moved components need their areas re-tracked, rebuilding every area on each drag
|
||||
// step makes dragging slow in large projects
|
||||
for (IDIYComponent<?> c : controlPointMap.keySet()) {
|
||||
drawingManager.invalidateComponent(c);
|
||||
}
|
||||
drawingManager.clearContinuityArea();
|
||||
|
||||
|
||||
return new Point2D.Double(actualDx, actualDy);
|
||||
}
|
||||
|
||||
|
||||
@@ -605,6 +605,10 @@
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Include 'Potentiometer (Miniature)' and 'Trimmer Potentiometer' in Guitar Wiring Analyzer</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Improved rendering performance and reduced lagging with complex projects while dragging components around</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Improve performance of 'Project Explorer' pane</description>
|
||||
|
||||
Reference in New Issue
Block a user