Skip to content

Commit

Permalink
Shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiusgreat committed Sep 25, 2024
1 parent c0b2fb9 commit 6fc24ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Canvas.Core/Canvas.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>3.2.7</Version>
<Version>3.2.8</Version>
<Description>Internal package used in Canvas.Views.Web</Description>
<Authors>artemiusgreat</Authors>
<Copyright>indemos.com</Copyright>
Expand Down
4 changes: 2 additions & 2 deletions Canvas.Core/Shapes/LineShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ protected virtual void Draw(int index, string name, IList<IShape> items)
var component = Composer.Components[nameof(ComponentEnum.ShapeSection)];
var coordinates = new DataModel[]
{
Composer.GetItemPosition(Engine, index - 1, (previous ?? current).Value),
Composer.GetItemPosition(Engine, index, current.Value)
Composer.GetItemPosition(Engine, index, (previous ?? current).Value),
Composer.GetItemPosition(Engine, index + 1, current.Value)
};

Engine.CreateLine(coordinates, Component ?? component);
Expand Down
2 changes: 1 addition & 1 deletion Canvas.Views.Web/Canvas.Views.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>3.2.7</Version>
<Version>3.2.8</Version>
<PackageTags>finance chart opengl canvas trading gdi stock direct2d</PackageTags>
<Authors>artemiusgreat</Authors>
<Copyright>indemos.com</Copyright>
Expand Down

0 comments on commit 6fc24ea

Please sign in to comment.