Skip to content

Commit

Permalink
do not stretch the draw buffer!
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Jul 29, 2019
1 parent 09f8531 commit f5c9a7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Views/Editor.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
Source = "{Binding FrameBuffer, Mode=OneWay}"
Width = "{Binding BufferWidth, Mode=OneWay}"
Height = "{Binding BufferHeight, Mode=OneWay}"
Stretch = "Fill"
HorizontalAlignment = "Left"
VerticalAlignment = "Top"
Focusable = "False"
Expand Down
1 change: 1 addition & 0 deletions Views/Editor.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ and Editor() as this =
timer.Stop()
trace "drawing end, time = %dms." timer.ElapsedMilliseconds
grid_vm.markClean()
(*trace "image size: %A; fb size: %A" (image().Bounds) (grid_fb.Size)*)
(*trace "base rendering"*)
base.Render ctx
(*trace "render end"*)
Expand Down

0 comments on commit f5c9a7f

Please sign in to comment.