Skip to content

Commit

Permalink
Used Arc instead of Bezier for more accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
stany24 committed Feb 21, 2024
1 parent d2c7482 commit 3c63b9f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Flexion/Logic/Preview/Preview.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private static Path GetRectangle(double x,double y,double width,double height)
{
Path path = new()
{
Fill = Brushes.Red,
Fill = Brushes.LightBlue,
Data = new PathGeometry
{
Figures = new PathFigures
Expand Down
3 changes: 2 additions & 1 deletion Flexion/Views/Editors/Layer/LayerEditor.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="3"
Height="300">
Height="300"
Background="#292929">
</Canvas>
</Grid>
</Window>
3 changes: 2 additions & 1 deletion Flexion/Views/Editors/Piece/PieceEditor.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="5"
Height="300">
Height="300"
Background="#292929">
</Canvas>
</Grid>
</Window>
2 changes: 1 addition & 1 deletion Flexion/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
Text="Dessus:"></TextBlock>
<Canvas
Name="LayerPreviewCanvasMainWindow"
Background="White"
Background="#292929"
Grid.Row="0"
Grid.RowSpan="3"
Grid.Column="2">
Expand Down

0 comments on commit 3c63b9f

Please sign in to comment.