mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
rotate bug
This commit is contained in:
@@ -1569,8 +1569,8 @@ public class Presenter implements IPlugInPort, IConfigListener {
|
|||||||
double centerY = (maxY + minY) / 2;
|
double centerY = (maxY + minY) / 2;
|
||||||
|
|
||||||
if (snapToGrid) {
|
if (snapToGrid) {
|
||||||
CalcUtils.roundToGrid(centerX, this.currentProject.getGridSpacing());
|
centerX = CalcUtils.roundToGrid(centerX, this.currentProject.getGridSpacing());
|
||||||
CalcUtils.roundToGrid(centerY, this.currentProject.getGridSpacing());
|
centerY = CalcUtils.roundToGrid(centerY, this.currentProject.getGridSpacing());
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Point2D.Double(centerX, centerY);
|
return new Point2D.Double(centerX, centerY);
|
||||||
|
|||||||
@@ -269,6 +269,10 @@
|
|||||||
<changeType>BUG_FIX</changeType>
|
<changeType>BUG_FIX</changeType>
|
||||||
<description>Moving selected components with a mouse doesn't register file modification action and doesn't enable Undo action</description>
|
<description>Moving selected components with a mouse doesn't register file modification action and doesn't enable Undo action</description>
|
||||||
</org.diylc.appframework.update.Change>
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>Rotating selected components sometimes wacks the alignment off the grid</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
</changes>
|
</changes>
|
||||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
</org.diylc.appframework.update.Version>
|
</org.diylc.appframework.update.Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user