Render will fail if zoomed in too far in ScrollViewer
Avid29 opened this issue · 0 comments
Avid29 commented
Reproduction Steps
- Wrap any shader in
ScrollViewer
with zooming enabled. - Zoom in fully
- Observe the exception is thrown and handled, ending the render loop
Such as this:
<ScrollViewer x:Name="Scroller" ZoomMode="Enabled" HorizontalScrollBarVisibility="Visible">
<computesharp:AnimatedComputeShaderPanel x:Name="RenderPanel" ShaderRunner="{x:Bind}"/>
</ScrollViewer>
Expected Behavior
Rendering should continue while zoomed in.
Actual Behavior
Render stops when zoomed in.
System info
This section should contain useful info such as:
- ComputeSharp 2.0.3
- 22621
- i7-11700 / NVIDIA GTX 1660 Ti
- Visual Studio 17.7.3 / net7.0-windows10.0.19041.0