Skip to content

Commit fc79984

Browse files
committed
save
1 parent 071f8e9 commit fc79984

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

PixelArtTool/MainWindow.xaml.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ void Start()
176176
SetCurrentColorPreviewBox(rectCurrentColor, currentColor);
177177
ResetCurrentBrightnessPreview(currentColor);
178178

179+
// set pixel box size based on resolution
180+
//rectPixelPos.Width = 16 * (16 / canvasResolutionX);
181+
//rectPixelPos.Height = 16 * (16 / canvasResolutionY);
182+
// r 8 = 32
183+
// r 16 = 16
184+
// r 32 = 8
185+
179186
// hide some objects (that are visible at start to keep it easy to edit form)
180187
lineSymmetryXpositionA.Visibility = Visibility.Hidden;
181188
lineSymmetryXpositionB.Visibility = Visibility.Hidden;

0 commit comments

Comments
 (0)