mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 12:24:58 +10:00
fix update file
This commit is contained in:
@@ -103,6 +103,7 @@ public class Line extends AbstractLeadedComponent<Void> {
|
||||
g2d.fill(getArrow());
|
||||
g2d.setTransform(oldTx);
|
||||
|
||||
// make the line slightly shorter so line end doesn't overlap with the arrow
|
||||
double distance = distance(startPoint, endPoint);
|
||||
interpolate(startPoint, endPoint, getArrowSize().convertToPixels() * 0.9 / distance, startPoint);
|
||||
}
|
||||
@@ -116,6 +117,7 @@ public class Line extends AbstractLeadedComponent<Void> {
|
||||
g2d.fill(getArrow());
|
||||
g2d.setTransform(oldTx);
|
||||
|
||||
// make the line slightly shorter so line end doesn't overlap with the arrow
|
||||
double distance = distance(startPoint, endPoint);
|
||||
interpolate(endPoint, startPoint, getArrowSize().convertToPixels() * 0.9 / distance, endPoint);
|
||||
}
|
||||
|
||||
@@ -2207,7 +2207,7 @@
|
||||
<name></name>
|
||||
<changes>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURES</changeType>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added optional arrow to the "Line" component together with configurable thickness</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
|
||||
Reference in New Issue
Block a user