Skip to content

Commit

Permalink
inactive cursor should not fill
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Nov 1, 2020
1 parent c537380 commit 9c99308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Views/Cursor.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ type Cursor() as this =
RenderText(ctx, bounds, scale, fg, bg, sp, this.ViewModel.underline, this.ViewModel.undercurl, Unshaped _buffer_glyph_mem, typeface, this.ViewModel.fontSize, true)
else
let brush = SolidColorBrush(this.ViewModel.bg)
ctx.DrawRectangle(brush, Pen(brush), RoundedRect(bounds))
ctx.DrawRectangle(Brushes.Transparent, Pen(brush), RoundedRect(bounds))

try
match ctx.PlatformImpl with
Expand Down

0 comments on commit 9c99308

Please sign in to comment.