Skip to content

Commit

Permalink
feat: higher display resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Oct 26, 2024
1 parent 89ea620 commit e8aebde
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public partial class DisplayControl : UserControl
{
public Dictionary<(int, int), Border> Pixels { get; set; } = [];

public int PixelWidth { get; set; } = 55; // width in display pixel
public int PixelHeight { get; set; } = 13; // height in display pixel
public int PixelWidth { get; set; } = 100; // width in display pixel
public int PixelHeight { get; set; } = 25; // height in display pixel

public DisplayControl()
{
Expand Down Expand Up @@ -45,8 +45,8 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
{
BorderBrush = Brushes.Black,
BorderThickness = new Thickness(0),
Width = 10,
Height = 10,
Width = 5,
Height = 5,
Background = Brushes.White
};
Pixels.Add((row, col), cell);
Expand Down

0 comments on commit e8aebde

Please sign in to comment.