Browse Source

Merge pull request #509 from gumme/WpfDesignerPrecisionChange

Modified precision for element positioning and boundaries to use 0 decimals.
pull/512/head
Andreas Weizel 11 years ago
parent
commit
b4f4f712c9
  1. 4
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PlacementInformation.cs

4
src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PlacementInformation.cs

@ -28,9 +28,9 @@ namespace ICSharpCode.WpfDesign @@ -28,9 +28,9 @@ namespace ICSharpCode.WpfDesign
{
/// <summary>
/// The designer rounds bounds to this number of digits to avoid floating point errors.
/// Value: 1
/// Value: 0
/// </summary>
public const int BoundsPrecision = 1;
public const int BoundsPrecision = 0;
Rect originalBounds, bounds;
readonly DesignItem item;

Loading…
Cancel
Save