Skip to content

Commit

Permalink
changed cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
Goatgarien committed Apr 30, 2022
1 parent 02b6955 commit 1b9c9f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BAKKA Editor/MyForm.h
Original file line number Diff line number Diff line change
Expand Up @@ -4086,13 +4086,13 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool

//Draw selected note
if (SelectedLineType == 1 && Rect.Width >= 1 && showCursor) {
CircleNotePen->Color = returnColor(SelectedNoteTypeVisual);
CircleNotePen->Width = widthOfCurrentNotePen;
CircleNotePen->Color = Color(Color::FromArgb(SelectedTransparency, returnColor(SelectedNoteTypeVisual)));
float spacing = widthOfNotePen + widthOfCurrentNotePen;
Rectangle innerRect(Rect.X + spacing, Rect.Y + spacing, Rect.Width - spacing * 2, Rect.Height - spacing * 2);
Rectangle outerRect(Rect.X - spacing, Rect.Y - spacing, Rect.Width + spacing * 2, Rect.Height + spacing * 2);
bufferedGfx->Graphics->DrawArc(CircleNotePen, innerRect, startAngle, arcLength);
bufferedGfx->Graphics->DrawArc(CircleNotePen, outerRect, startAngle, arcLength);
CircleNotePen->Width = spacing * 2.f;
//Rectangle innerRect(Rect.X + spacing, Rect.Y + spacing, Rect.Width - spacing * 2, Rect.Height - spacing * 2);
//Rectangle outerRect(Rect.X - spacing, Rect.Y - spacing, Rect.Width + spacing * 2, Rect.Height + spacing * 2);
bufferedGfx->Graphics->DrawArc(CircleNotePen, Rect, startAngle, arcLength);
//bufferedGfx->Graphics->DrawArc(CircleNotePen, outerRect, startAngle, arcLength);
}

//Render
Expand Down

0 comments on commit 1b9c9f0

Please sign in to comment.